Hover over the chart to get X and Y axis values

Stimulsoft Reports.WPF discussion
sandynith
Posts: 64
Joined: Thu Dec 12, 2013 4:03 am

Hover over the chart to get X and Y axis values

Post by sandynith »

Hi,

Stimulsoft WPF version: 2014.1.1900.
I am using StiClusteredColumnSeries and StiLineSeries having multiple series using following properties:
AutoSeriesKeyDataColumn, ArgumentDataColumn, ValueDataColumn, AutoSeriesTitleDataColumn and AutoSeriesColorDataColumn.

I would like to know Is it possible to hover over a series and show its X axis and Y axis values (in a tooltip or a popup which stands out more from rest of the chart) ?
I have tried the Series Properties - Behavior - Interaction and setting various properties there - It allows me to interact with the series and have a hover over effect and also can have tool tip showing there.
But I am not sure how to get the X axis and Y axis values for a given selected point. So for a give line series hovering over at different points will have different X axis and Y axis values.

Atleast just getting the corresponding SeriesTitle by hovering over the series will be of great help. (Showing the series title as data values for all series when there are two many series clutter the graph a lot).

Any advice will be of great help.
Please let me know if I failed to explain what I want.

Thanks,
Sandeep
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Hover over the chart to get X and Y axis values

Post by Alex K. »

Hello,

You can try to use the ToolTipDataColumn property.
If it is does not help, please send us a simple report with test data which reproduce the issue for analysis.

Thank you.
sandynith
Posts: 64
Joined: Thu Dec 12, 2013 4:03 am

Re: Hover over the chart to get X and Y axis values

Post by sandynith »

Hi Aleksey,

Thanks for the suggestion, the ToolTipDataColumn property is working and showing me the correct values but only if there just one series. With multi series (added via AutoSeriesKeyColumn) the values are not correct.

Please find attached a sample report and data.
ToolTipDataColumn=DataSource1.Day - and hence it should show me the respective day for the series, however looks like it just picks up only one value (probably the first one) from the data source.

Questions:
1. How to get the tool tip showing the correct value?
2. Ideally I would like to show in a format: (seriesTitle, value) - Is it possible?

Thanks,
Sandeep
Attachments
Tool tip showing wrong value - Line chart.JPG
Tool tip showing wrong value - Line chart.JPG (39.17 KiB) Viewed 5380 times
Tool tip showing wrong value - bar chart.JPG
Tool tip showing wrong value - bar chart.JPG (36.01 KiB) Viewed 5380 times
ToolTip_data.csv
data file
(547 Bytes) Downloaded 282 times
ToolTip_Report.mrt
Report showing tool tips
(23.12 KiB) Downloaded 348 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Hover over the chart to get X and Y axis values

Post by Alex K. »

Hello,
1. How to get the tool tip showing the correct value?
The issue is fixed. The fix will be available in the next release in the end of this month.
2. Ideally I would like to show in a format: (seriesTitle, value) - Is it possible?
Unfortunately, it is not possible.

Thank you.
Attachments
Capture.PNG
Capture.PNG (32.05 KiB) Viewed 5373 times
sandynith
Posts: 64
Joined: Thu Dec 12, 2013 4:03 am

Re: Hover over the chart to get X and Y axis values

Post by sandynith »

Thanks for the fix, I will try it when next release is available.
Another questions:
1. For a line series I need to hover over exactly on the marker to show the tooltip.
Is it possible to show the tooltip (which shows the series title) on hovering anywhere over the line. This is useful to know the series title for a multi series chart.

2. Also I noticed that in line chart if the marker is visible=false then hovering over the marker doesn't show tooltip at all. In my case we hide the marker so its fix is required.
Both of these issues can be seen in my sample report in the line series.
Thanks.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Hover over the chart to get X and Y axis values

Post by Alex K. »

Hello,
1. For a line series I need to hover over exactly on the marker to show the tooltip.
Is it possible to show the tooltip (which shows the series title) on hovering anywhere over the line. This is useful to know the series title for a multi series chart.
Unfortunately, we do not have plans to develop this feature. Sorry.
2. Also I noticed that in line chart if the marker is visible=false then hovering over the marker doesn't show tooltip at all. In my case we hide the marker so its fix is required.
Please try to decrease a size of marker instead a hiding.

Thank you.
sandynith
Posts: 64
Joined: Thu Dec 12, 2013 4:03 am

Re: Hover over the chart to get X and Y axis values

Post by sandynith »

Thanks for your reply.

1. >> Please try to decrease a size of marker instead a hiding.
Well if I decrease the size to say 1 then the problem is that you need to point your mouse exactly at the marker to get the tool tip.. and its hard to position the mouse at this tiny marker.

2. We basically have multi series line chart (with say 50 lines) with over 1500 data points on the X axis. Therefore we hide the marker in line series to show a smooth line.
Hence it becomes useful to have the feature of just pointing one of the series and get its title, instead of figuring out from the legend colors.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Hover over the chart to get X and Y axis values

Post by Alex K. »

Hello,
sandynith wrote:2. We basically have multi series line chart (with say 50 lines) with over 1500 data points on the X axis. Therefore we hide the marker in line series to show a smooth line.
Hence it becomes useful to have the feature of just pointing one of the series and get its title, instead of figuring out from the legend colors.
We have added this task in our to-do list. We will try to realize it after release.

Thank you.
sandynith
Posts: 64
Joined: Thu Dec 12, 2013 4:03 am

Re: Hover over the chart to get X and Y axis values

Post by sandynith »

Thanks Aleksey for your reply.
I will wait for the next release and see how it goes.
It will be great if you can update on this post when these features are available.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Hover over the chart to get X and Y axis values

Post by Alex K. »

Hello,

Ok.
Let us know if you need any additional help.

Thank you.
Post Reply