Hello Steema Support,
I am using tee chart line series in Silverlight application, here I am facing one problem related tee chart Axes management in my chart Top axes are getting displayed but in top axes my minimum and maximum value of axes is not coming on ticks.
tChartGraph.Axes.Top.Maximum = lst_X_Axis__ForLine.Max();
tChartGraph.Axes.Top.Minimum = lst_X_Axis__ForLine.Min();
tChartGraph.Axes.Top.Increment = (tChartGraph.Axes.Top.Maximum - tChartGraph.Axes.Top.Minimum) / 8;
It will so helpful for us if you please provide any solution.
Thanks in advance.
Thanks and Regards
Planoresearch
Problem in set minimum and maximum value of axes
Problem in set minimum and maximum value of axes
- Attachments
-
- Untitled.jpg (62.53 KiB) Viewed 4877 times
Re: Problem in set minimum and maximum value of axes
Hello Amo,
I have made a simple code where your problem doesn't appear for me.
Could you tell us if in previous code works in your end?
Thanks,
I have made a simple code where your problem doesn't appear for me.
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Steema.TeeChart.Silverlight.Styles.Line line1 = new Steema.TeeChart.Silverlight.Styles.Line(tChart1.Chart);
Random rnd = new Random();
for (int i = 0; i < 100; i++)
{
line1.Add(i * 0.001, rnd.Next(100));
}
line1.HorizAxis = Steema.TeeChart.Silverlight.Styles.HorizontalAxis.Both;
tChart1.Axes.Top.Labels.ValueFormat = "#,##0.###";
tChart1.Axes.Bottom.Labels.ValueFormat = "#,##0.###";
}
Thanks,
Best Regards,
Sandra Pazos / 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 |