Hi,
We are using .net tee chart version 2012. While plotting the chart, we are facing an issue related to labels and axis lines for bottom axis. Bottom label are showing with uneven distance as shown in snap shot below (1, 3, 5, 7, 9, 11, 14…….). But the desired output is that the bottom axis should appear with even distance spacing between each label (1, 3,5,7,9,11,13,15 ……). We are using Point Value property for bottom axis labels.
We are sending demo project that reproduce same problem.
Please suggest how we can resolve this issue.
Thanks
Supriya
Bottom Axis Label Issue
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Bottom Axis Label Issue
Hello Supriya,
Thank you for the demo project - unfortunately it seems to be a C++ MFC project which is incompatible with the .NET Framework TeeChart.dll.
Could you please send us a .NET project (C# etc.) with which we can reproduce your issue?
Thank you for the demo project - unfortunately it seems to be a C++ MFC project which is incompatible with the .NET Framework TeeChart.dll.
Could you please send us a .NET project (C# etc.) with which we can reproduce your issue?
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Bottom Axis Label Issue
Hi,
As per your suggestion, we are sending .net demo project that reproduces the same problem. This will give you the clear picture of what the actual problem is. Please suggest how we can resolve this issue.
Thanks
Supriya
As per your suggestion, we are sending .net demo project that reproduces the same problem. This will give you the clear picture of what the actual problem is. Please suggest how we can resolve this issue.
Thanks
Supriya
- Attachments
-
- WindowsFormsApplication1.rar
- Demo Project
- (14.44 KiB) Downloaded 784 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Bottom Axis Label Issue
Hello Supriya,
I'm afraid to say that the only way to control the increment of the axes is when the axis labels are set to Auto, e.g.
I'm afraid to say that the only way to control the increment of the axes is when the axis labels are set to Auto, e.g.
Code: Select all
private void InitializeChart()
{
Random rnd = new Random();
tChart1.Aspect.View3D = false;
Line series = (Line)tChart1.Series.Add(typeof(Line));
for (int t = 1; t < 20; t++)
{
series.Add(t, rnd.Next(0, 10000));
}
series.Pointer.Visible = true;
tChart1.Axes.Bottom.Increment = 2;
tChart1.Axes.Bottom.Labels.Style = AxisLabelStyle.Auto;
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |