I've been working with TeeChart's Polar Plots and I came across odd functionality when using the ClockWiseLabels property. It seems that when ClockWiseLabels is set to true the points are still plotted normally in a counter-clockwise order. I created a simple project to illustrate this that plots the points: (0, 5), (10, 6), (20, 7). First on the left with ClockWiseLabels = false and then on the right with ClockWiseLabels = true. You can also get some very unexpected behavior when switching ClockWiseLabels and continuing to plot points spiraling outwards. It looks like the plot correctly switches the existing points but continues to plot in a clockwise order resulting in the jump shown below. Everything works fine if the data is added and then ClockWiseLabels is set to true. But this does not work for us since we will be plotting data in real-time. Is there anyway to get the polar chart to correctly plot the points if ClockWiseLabels = true? Or is my only option to do:
Code: Select all
if (polar1.ClockWiseLabels)
polar1.Add(xValue * -1, yValue);
else
polar1.Add(xValue, yValue);
Thanks for your help in advance. I am running TeeCharts 4.1.2011.10191 for .NET 2.0.