Hi everybody,
I use a StackedAreaChart to display int values on the y axis with timestamps on the x axis. The control is bound to a DataTable with one line per timestamp and one column per value.
Now I want to display a tooltip for each area with the corresponding int value. The tooltip is set to MouseMove with "<SERIES_LABEL>: <DATA_VALUE:0>" as format string.
With that I have two problems:
1st problem: The displayed value is only correct for the lowermost area. In all other areas the cumulative value of all areas from bottom to the current one is displayed. Example: the first (lowermost) area has the value 1, the next area has the value 3. Then it's tooltip should be 3, but it is 4 (1+3).
2nd problem: I'd like to display the tooltip all over the area and not only when the mouse cursor hits the line above it. I found the workaround at http://blogs.infragistics.com/forums/p/28077/113661.aspx but this seems to break the replacement of the <DATA_VALUE:0> placeholder.
Thanks in advance
Hi,
Sorry for the late follow-up. Can you upload a small sample representing your scenario and I will be glad to research your questions further for you.
Regards,
Stefaniya
Hi Stefaniya,
here's the requested sample.
Thanks a lot
I have modified the sample that you have uploaded based on the following forum posts: http://forums.infragistics.com/forums/p/41584/237465.aspx#237465
Please, let me know if this is what you asked for.
Hi Stefaniya
thank you for your answer but that is not really what I need. I'd like to have the numbers in my tooltip, that are generated by the Random.Next(10) calls in the sample's form line 155 to 161. If you want it more graphically: I need the stack area' height under the cursor at its position. What you're displaying currently is just y axis value.
The use case for that is that each stacked area represents the number of items of the same category. So the total height of the diagram displays the total number of items. But in the tool tip I'd like to see the item count for that category (area) I move the cursor to (and for that time stamp I move the cursor to).
Thanks and regards
Could you please upload an image, so I can get more clear view of the functionality that you would like to achieve with the tooltips and I will check what could be done.
Please find attached an image with some samples for the expected tooltips based on the demo application including the chart's datasource.
This is currently not supported. I have logged a feature request for you for displaying for each area the corresponding start point value.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development you will be notified at that time. Your reference number for this feature request is FR12894.
Let me know if you need any further assistance.
Let me know if there is something more I can do for you.