I'm trying to create a chart which shows a category name spanning over a period of time, and I'm using a RangeColumnSeries chart to do that. Something like this:
http://6.anychart.com/products/anychart/docs/users-guide/img/Samples/sample-range-bar-chart-y-datetime-axis.png
It works great except that I would like to flip the Primary and Secondary Axis, such that the category name is the Y axis, and my high and low values represent a date range for the X axis. For some charts I can swap the CategoryAxis and NumericalAxis, but not apparently with the RangeColumnSeries. Any ideas?
<chart:SfChart HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
<chart:SfChart.PrimaryAxis>
<chart:CategoryAxis ShowMajorGridLines="False">
<chart:CategoryAxis>
</chart:CategoryAxis>
</chart:CategoryAxis>
</chart:SfChart.PrimaryAxis>
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis ShowMajorGridLines="False" ShowMinorGridLines="False">
<chart:NumericalAxis>
<chart:NumericalAxis.LabelStyle>
<chart:ChartAxisLabelStyle />
</chart:NumericalAxis.LabelStyle>
</chart:NumericalAxis>
</chart:NumericalAxis>
</chart:SfChart.SecondaryAxis>
<chart:SfChart.Legend>
<chart:ChartLegend DockPosition="Bottom" >
<chart:ChartLegend.LabelStyle>
<chart:ChartLegendLabelStyle Font="Bold,10" />
</chart:ChartLegend.LabelStyle>
</chart:ChartLegend>
</chart:SfChart.Legend>
<chart:SfChart.Series>
<chart:RangeColumnSeries ItemsSource ="{Binding Charts}"
XBindingPath="Name"
High="EndDayHigh"
Low="StartDayLow">
<!--<chart:RangeColumnSeries.DataMarker>
<chart:ChartDataMarker />
</chart:RangeColumnSeries.DataMarker>-->
<chart:RangeColumnSeries.ColorModel>
<chart:ChartColorModel Palette="Custom" CustomBrushes="{StaticResource Colors}"/>
</chart:RangeColumnSeries.ColorModel>
</chart:RangeColumnSeries>
</chart:SfChart.Series>
</chart:SfChart>