SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
in SciChart Android the vertically-oriented axis title is displayed like this:
I’d like to rotate the title -180 degrees, so that it looks like that (that is the default behaviour in SciChart iOS):
Is there a way to achieve that?
I have a series of charts with flipped coordinates, and each chart has multiple x-axes at the top (see screenshot). I’ve successfully added titles to the axes but I’m stuck trying to figure out how to reduce the spacing between the titles and the axis labels. In the included screenshot, it is apparent that a lot of real estate is being eaten up by this. These charts are generated dynamically so I need a code, not xaml, solution. I’ve looked into a lot of axis title styling examples but all use a xaml approach, and I’m having trouble translating that style info into code. Could anyone suggest what class(es) to use in the axis constructor, or provide a brief example?
Because we have limited vertical space, I would like to change the position of the x-axis title.
Ideally, to the right of the x-axis values.
Using code behind, this was sort of possible, but we would like to do it using xaml.
Also, the code behind solution had problems when resizing the chart.
Is this possible?
I can’t seem to find it in the API, but I figured I’d ask .Is any built in support for live editing the Chart Title or Axis Titles right on the chart surface like you can with a TextAnnotation?
Hello, I am evaluating your product and would like to know if there is a way to use superscript or subscript characters in the titles on the chart. We use chemical terminology that we would like to represent. For example we would represent Phosphorus as PO4-P and the 4 would be a subscript character.
I try to rotate the axistitle on a chart. the title is outside the bounds of the control. How can I make the surface resize to include the axistitle?
I set it in code behind when creating an y-axis. Thats necessary because I cannot style via datatemplates when I bind an axiscollection:
My code for the axis:
Style s = new Style(typeof(AxisTitle)); s.Setters.Add(new Setter(NumericAxis.RenderTransformProperty, new RotateTransform(90))); s.Setters.Add(new Setter(NumericAxis.RenderTransformOriginProperty, new Point(1, 0.5))); yAxis.TitleStyle = s;
In general it works but looks like in the picture.
On priority support tickets, a user just asked us how to show and hide the AxisTitle TextBlock without changing the AxisTitle.Text to string.Empty.
The solution uses attached properties and a small custom style, so we thought we’d post it below