Hello,
I’m working with a polar chart and I’m having certain issues with the grid.
I’m trying to get a grid that covers all the surface, but I am not able to get it. I think it’s related to the Polar#Axis.
When I set a -200 margin on the Y axis, the grid lines separate and look like they are starting when I want, but they are not being draw outside the original circle.
When I set a -200 margin on the X axis, the outer circle goes outside the surface (red brush to watch it), but the Y axis does not reach the X axis and still inside the original circle.
Is there any way to get the desired grid?
I attach my code and a few images.
Thanks in advance.
<Grid Visibility="{Binding ShowPolarGrid, Converter={StaticResource BooleanToVisibilityConverter}}" >
<s:SciChartSurface Name="PolarGrid"
MaxFrameRate="24"
BorderBrush="Lime" BorderThickness="2">
<s:SciChartSurface.XAxis>
<s:PolarXAxis DrawMajorGridLines="True"
DrawMinorGridLines="{Binding PolarMinorLines}" MinorsPerMajor="2"
DrawMajorTicks="False"
DrawMinorTicks="False"
AutoRange="Never"
BorderBrush="Red"/>
</s:SciChartSurface.XAxis>
<s:SciChartSurface.YAxis>
<s:PolarYAxis DrawMajorGridLines="True"
DrawMinorGridLines="{Binding PolarMinorLines}" MinorsPerMajor="2"
DrawMajorTicks="False"
DrawMinorTicks="False"
VisibleRange="0, 1"
AutoRange="Never"
MajorDelta="1" />
</s:SciChartSurface.YAxis>
</s:SciChartSurface>
</Grid>
- S C asked 8 years ago
- You must login to post comments
Please login first to submit.