|
data symbols |
Posted by claude Kane on Sep-24-2013 20:52 |
|
I beleive it is correct, if no data symbol is present on a line chart, then the point value will not show when the mouse hovers over the point. If a data symbol is there then the value of the data point will show.
The issuse I have is that I want to be able to hover over a point and see the value, but not have visible symbols. Is it possible to have transparent symbols so when the user hovers, the value will show. if so, how do you set this up? |
Re: data symbols |
Posted by Peter Kwan on Sep-24-2013 23:11 |
|
Hi claude,
I assume you already know how to disable the image map for a line layer (so the line segments do not respond to mouse actions and so do not have tooltips). If you want only the data points to have tooltips, you can create a scatter layer with the same data as the line layer and with an active image map. In this way, the scatter symbols can respond to mouse actions and have tooltips. You may use transparent symbols if you like. This is by setting both the fill color and the edge color of the symbol to transparent.
For example:
c.addScatterLayer(dataX, dataY, "My Data", Chart.CircleSymbol, 11, Chart.Transparent, Chart.Transparent)
Hope this can help.
Regards
Peter Kwan |
|