When I add a serie to a numeric gauge some markers are automatically added.
But when I remove the serie the markers are not deleted automatically, is this behaviour right?
Numeric gauge and markers
Numeric gauge and markers
- Attachments
-
- NumericGaugeMarkers.png (11.81 KiB) Viewed 10853 times
Re: Numeric gauge and markers
Hello wakeup,
We published a new version of TeeChartFor.Net, few days ago, as you can see in next link. Could you tell us if your problem appear using this version? If appears, could you tell us we need do to reproduce it, because if I use last version, I can't reproduce your problem.
Thanks,
We published a new version of TeeChartFor.Net, few days ago, as you can see in next link. Could you tell us if your problem appear using this version? If appears, could you tell us we need do to reproduce it, because if I use last version, I can't reproduce your problem.
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: Numeric gauge and markers
Thanks I have just upgraded but the problems still happens
Re: Numeric gauge and markers
Hello wakeup,
I can not reproduce your problem with latest version of TeeChartFor.Net 4.1.2013.11080. In this point, Could you indicate us, step to step, what must I do to reproduce this problem?
Thanks,
I can not reproduce your problem with latest version of TeeChartFor.Net 4.1.2013.11080. In this point, Could you indicate us, step to step, what must I do to reproduce this problem?
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: Numeric gauge and markers
Please download the example project
http://193.145.251.126/pnp/files/qUdMHY ... chart2.zip
Click en button1 and then in button2, you will see markers are not deleted and they can be seen in "Tools" sheet.
Thanks
http://193.145.251.126/pnp/files/qUdMHY ... chart2.zip
Click en button1 and then in button2, you will see markers are not deleted and they can be seen in "Tools" sheet.
Thanks
Re: Numeric gauge and markers
Hello wakeup,
I have realized that you use RemoveAt(0). I recommend you to remove series, use series Clear() method instead of RemoveAt(0) as do in next line of code:
Could you tell us if previous code works in your end?
Thanks,
I have realized that you use RemoveAt(0). I recommend you to remove series, use series Clear() method instead of RemoveAt(0) as do in next line of code:
Code: Select all
tChart1.Series.Clear()
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: Numeric gauge and markers
Yes but that removes all series, and I usually have several series and I only want to delete one so I have to use it...
Re: Numeric gauge and markers
Hello wakeup,
Sorry for the delay. I have tested your code and you are right. I have added your problem in bug list number [Id100]. We will try to fix it to upcoming versions of TeeChartFor.net. You can check the bug status in next link. Remember, now in new bug tracker system, you can add the problems you consider as a bug, directly.
On the other hand, you can use next workaround to remove the NumericSeries:
Thanks,
Sorry for the delay. I have tested your code and you are right. I have added your problem in bug list number [Id100]. We will try to fix it to upcoming versions of TeeChartFor.net. You can check the bug status in next link. Remember, now in new bug tracker system, you can add the problems you consider as a bug, directly.
On the other hand, you can use next workaround to remove the NumericSeries:
Code: Select all
private void button1_Click(object sender, EventArgs e)
{
Steema.TeeChart.Styles.NumericGauge num = new Steema.TeeChart.Styles.NumericGauge();
tChart1.Series.Add(num);
}
private void button2_Click(object sender, EventArgs e)
{
Steema.TeeChart.Styles.NumericGauge s = (Steema.TeeChart.Styles.NumericGauge)tChart1[0];
s.Markers.Clear();
tChart1.Series.RemoveAt(0); // tChart1.Series.Remove(s);
tChart1.Refresh();
}
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 |