I am having problems with the SeriesHotspot.
I have 2 types of charts:
1. Current Readings: Plots average real time data over a time period for selected instruments
2. Hourly and Daily Averages: Plots average, minimum, maximum and standard deviation aggregation data over a time period for selected instruments
When I place the mouse over the series, the hotspot displays the values of the first plot type, fairly quickly and always accurate
However when I place the mouse over the series of the second type of plot, the hotspot will sometimes display the correct value but mostly it displays the
value of either that serie's respective min, max std deviation or average at that x-axis time
Eg. When I place my mouse over the std dev series at 1/2/2006 at 12.30pm the hotspot displays
1. the std dev of 3.88 degC
2. the average of 22.5 degC
3. the std dev of 3.88 degC
4. the std dev of 3.88 degC
5. the average of 22.5 degC
Then, when it has displayed an incorrect value, I have to move my mouse around quite a bit to make the hotspot disappear
In Page_load I call a function InitChart, in which I add the SeriesToolTip to the Chart as per the Tutorial 10 - Walk-through ASP Examples
Dim seriesHotSpot1 As Steema.TeeChart.Tools.SeriesHotspot = New Steema.TeeChart.Tools.SeriesHotspot(ch)
'Steema.TeeChart.Styles.MapAction.Mark is the default value
seriesHotSpot1.MapAction = Steema.TeeChart.Styles.MapAction.Mark
Even when zoomed in, the values at a specific point will change with every mouseover, to either its min, max, std deviation or average
Is there a way to increase the area of the hotspot to make it display the correct value more accurately?
Do you maybe have any suggestions how I could resolved this problem?
I can send code and screenshots if required
Thanking you in advance
WebChart SeriesHotspot
WebChart SeriesHotspot
Guila
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Guila,
The code below with a HotSpots tool works fine here. Can you please test if this works for you? If it doesn't please modify it or send us an example we can run "as-is" to reproduce the problem here.
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
The code below with a HotSpots tool works fine here. Can you please test if this works for you? If it doesn't please modify it or send us an example we can run "as-is" to reproduce the problem here.
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Code: Select all
private void Page_Load(object sender, System.EventArgs e)
{
WebChart1.Chart[0].FillSampleValues();
Steema.TeeChart.Functions.Average average1 = new Steema.TeeChart.Functions.Average();
WebChart1.Chart[1].Function = average1;
WebChart1.Chart[1].DataSource = WebChart1.Chart[0];
Steema.TeeChart.Functions.StdDeviation stdDeviation1 = new Steema.TeeChart.Functions.StdDeviation();
WebChart1.Chart[2].Function = stdDeviation1;
WebChart1.Chart[2].DataSource = WebChart1.Chart[0];
WebChart1.Chart[1].CheckDataSource();
WebChart1.Chart[2].CheckDataSource();
}
Best Regards,
Narcís Calvet / 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 |