SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & 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.
Yes, there is a way to rotate a chart! You can use our build in API to place an XAxis on the Left/Right and YAxis on the Top/Bottom of the chart. This is demonstrated in one of our examples: Vertical Chart Example
The most important part of the code is here. Note the AxisAlignment property:
<!-- Define the XAxis for this chart on the Left. --> <SciChart:SciChartSurface.XAxis> <SciChart:NumericAxis AxisAlignment="Left" AxisTitle="X-Axis" DrawMajorBands="True"/> </SciChart:SciChartSurface.XAxis> <!-- Define the YAxis on the Top --> <SciChart:SciChartSurface.YAxes> <SciChart:NumericAxis AxisAlignment="Top" AxisTitle="Red Line" BorderBrush="Red" BorderThickness="0,0,0,1" Id="Top1" TickTextBrush="Red"/> <SciChart:NumericAxis AxisAlignment="Top" AxisTitle="Black Line" BorderBrush="Black" BorderThickness="0,0,0,1" Id="Top2" TickTextBrush="Black"/> </SciChart:SciChartSurface.YAxes>
Alternatively, you can use WPF’s LayoutTransform. This will rotate the entire chart including axis labels. Rotating axis labels back would require additional transforms at the label level.
Please login first to submit.