Polar Plot Incorrectly Plots Points With ClockWiseLabels
Posted: Wed Jan 11, 2012 6:14 pm
Hello Steema,
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:
Also, I have been having a problem with adding a Sub Header. It seems that whenever I set the sub header to visible, I lose all of the font properties for the Title. This is illustrated below with SubHeader.Visible = false on the left, and SubHeader.Visible = true on the right:
After setting SubHeader.Visible = true, altering the font for the title has no effect. Is there a way to alter the font settings for both the title and sub header? Is the order in which the fonts/visibilities important?
Thanks for your help in advance. I am running TeeCharts 4.1.2011.10191 for .NET 2.0.
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.