I am upgrading my VB6 application from TeeChart V8.0.0.5 to TeeChart 2016.0.0.2 due to printing problems in Version 8 and Windows 10. Since upgrading to TeeChart 2016 my print issues have been corrected but now my polar plots will not display the correct data. See attached pictures showing the polar plot for TeeChart 8 and polar plots for TeeChart 2016.
With TeeChart 8, I used AddArray to add the data to the Series. With TeeChart 2016 first picture I used AddArray and second picture I have tried Add Polar and still cannot get the correct plot.
Issue with Polar Chart
Issue with Polar Chart
- Attachments
-
- TeeChart 2016 using AddPolar
- TeeChart 2016 - polar using addploar.png (171.21 KiB) Viewed 12169 times
-
- TeeChart 2016.0.0.2
- TeeChart 2016 - polar.png (149.04 KiB) Viewed 12169 times
-
- TeeChart V8.0.0.5
- TeeChart8 - polar.png (90.32 KiB) Viewed 12169 times
Re: Issue with Polar Chart
Hello,
I've just made a simple example with TeeChart ActiveX v2016.0.0.2 and this code:
And I get the same result you were getting with TeeChart ActiveX v8:
So I'm not sure to understand how are you exactly adding those points. If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
I've just made a simple example with TeeChart ActiveX v2016.0.0.2 and this code:
Code: Select all
TChart1.Header.Text.Clear
TChart1.Aspect.View3D = False
TChart1.Legend.Hide
TChart1.AddSeries scPolar
With TChart1.Series(0).asPolar
.Pointer.Visible = False
.CircleBrush.Style = bsClear
.Brush.Style = bsClear
.Pen.Color = TChart1.Series(0).Color
.RotationAngle = 90
.AddPolar -176, -14.683, "", clTeeColor
.AddPolar -171, -7.123, "", clTeeColor
.AddPolar -166, -7.386, "", clTeeColor
.AddPolar -161, -7.409, "", clTeeColor
.AddPolar -156, -7.831, "", clTeeColor
.AddPolar -151, -7.624, "", clTeeColor
.AddPolar -146, -12.116, "", clTeeColor
.AddPolar -141, -16.562, "", clTeeColor
.AddPolar -136, -17.006, "", clTeeColor
.AddPolar -131, -21.822, "", clTeeColor
.AddPolar -126, -20.759, "", clTeeColor
.AddPolar -121, -24.894, "", clTeeColor
.AddPolar -116, -22.416, "", clTeeColor
.AddPolar -111, -33.226, "", clTeeColor
.AddPolar -106, -33.623, "", clTeeColor
.AddPolar -101, -28.852, "", clTeeColor
.AddPolar -96, -25.223, "", clTeeColor
.AddPolar -91, -23.405, "", clTeeColor
.AddPolar -86, -23.168, "", clTeeColor
.AddPolar -81, -27.575, "", clTeeColor
.AddPolar -76, -29.608, "", clTeeColor
.AddPolar -71, -25.718, "", clTeeColor
.AddPolar -66, -32.794, "", clTeeColor
.AddPolar -61, -23.667, "", clTeeColor
.AddPolar -56, -22.978, "", clTeeColor
.AddPolar -51, -23.77, "", clTeeColor
.AddPolar -46, -25.691, "", clTeeColor
.AddPolar -41, -26.886, "", clTeeColor
.AddPolar -36, -21.122, "", clTeeColor
.AddPolar -31, -20.086, "", clTeeColor
.AddPolar -26, -17.813, "", clTeeColor
.AddPolar -21, -13.13, "", clTeeColor
.AddPolar -16, -13.267, "", clTeeColor
.AddPolar -11, -13.065, "", clTeeColor
.AddPolar -6, -5.737, "", clTeeColor
.AddPolar -1, 28.65, "", clTeeColor
.AddPolar 4, -1.07, "", clTeeColor
.AddPolar 9, -13.488, "", clTeeColor
.AddPolar 14, -5.515, "", clTeeColor
.AddPolar 19, -18.006, "", clTeeColor
.AddPolar 24, -18.737, "", clTeeColor
.AddPolar 29, -21.368, "", clTeeColor
.AddPolar 34, -27.901, "", clTeeColor
End With
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Issue with Polar Chart
I think I found why my data looked was wrong. Under Series General Tab, my data was sorted. How do I set the sort to None?
- Attachments
-
- Series - General Tab
- Series General tab.png (22.24 KiB) Viewed 12137 times
Re: Issue with Polar Chart
Hello,
You can try with this:
If you still find problems with it, try to arrange a simple example project we can run as-is to reproduce the problem here.
You can try with this:
Code: Select all
TChart1.Series(0).XValues.Order = loNone
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Issue with Polar Chart
Thank you that worked