Hello,
I want to add string in Y parameter, when i add values in Point series.
I want to add Point.Add(double, String, String, Color).
There is no direct way to do that. Is there any other way to acheive this?
With regards,
Vivek.J
Need Help in adding values in Point series
Re: Need Help in adding values in Point series
Hello vivek,
Thanks,
There aren't no headers as use String with Y parameter. Please you could exactly what could you doing in your application? So If possible , we can find alternative soultion.I want to add Point.Add(double, String, String, Color).
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 |
Re: Need Help in adding values in Point series
Actualy I want to add double in X axis , string in Y axis . Each point should be different color according to the condition. At the same time i have to add lable for each point as a tool tip. With the help of the lable we have to do so many operation. Thats why i asked.
I have achieved this through different way. It would be appriciate if you give any better solution.
Thank you.
I have achieved this through different way. It would be appriciate if you give any better solution.
Thank you.
Re: Need Help in adding values in Point series
Hello vivek,
I made a simple project that put Y axis string and you could use a similar project for this. Please see next code works as you want:
I hope will helps.
Thanks,
I made a simple project that put Y axis string and you could use a similar project for this. Please see next code works as you want:
Code: Select all
private void InitializeChart()
{
bar = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
tChart1.Aspect.View3D = false;
bar.Marks.Visible = false;
tChart1.Legend.Visible = false;
bar.ColorEach = true;
Random rnd = new Random();
for( int j= 0; j<5; j++)
{
bar.Add(j,rnd.NextDouble());
bar[j].Label = "Point Y :" + j.ToString();
}
tChart1.Axes.Left.Labels.Style = Steema.TeeChart.AxisLabelStyle.Text;
tChart1.Axes.Bottom.Labels.Style = Steema.TeeChart.AxisLabelStyle.Value;
tChart1.Axes.Left.MinorTicks.Visible = false;
}
I hope will helps.
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 |