SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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.