To render dashed lines in a LineChart, you can use the certainty role:

http://code.google.com/apis/chart/interactive/docs/roles.html#certaintyrole

But this is not really the use case that it was designed for.  The
certainty role is per-data-point, not per-series.  There are many options
for styling data series: point size, line width, curve type.  You can also
use the ComboChart and make some series bars and some lines or areas.  See
the 'series' option for more details.

In ImageChart, you can listen to mouseover events:

http://code.google.com/apis/chart/interactive/docs/gallery/genericimagechart.html#Events


But I don't know if you can get x,y coordinates of the event, without which
it might be hard to show a tooltip.

Hope that helps.  Let me know if you have any questions.

MC Get Vizzy

On Fri, Jan 6, 2012 at 8:54 PM, Azhar Rahi <[email protected]> wrote:

> Hello How are all here.
> I am showing line chart using ImageChart. the purpose to use Image
> Chart for line chart was due to the reason that ImageChart gives
> options to show different line styles .. like solid, dashed, dotted
> etc. But I have now another problem with it. It cannot show the
> tooltip when mouseover to the data point. If I use LineChart option,
> then it can display tooltips on mouseover, but there I cannot find
> any
> style options for line such that solid, dashed etc.
> I have a reason to use different styles because in the graph the
> lines
> for two weeks have to display. And for each week I have to display 4
> series. So there will be 8 series for two weeks. I want to show 4
> legends only with customized color scheming and two series will
> contain same colors. So there are only a way to show difference
> between two week series, i.e. one should be solid line and 2nd should
> be dashed or dotted.
> Please can anybody help me regarding abovei issue?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to