This will be difficult, but possible to replicate. You are basically right with your data structure, but you have to do some weird tricks to make it work.
Each data point with one of your lines hanging up or down needs 3 rows in the DataTable. The first row contains [x, point value, line value]; the second contains [x, line value, line value]; and the third contains [x, null, line value]. When you do that, you get a chart that looks like this: http://jsfiddle.net/asgallant/6r8MC/1/ On Saturday, March 16, 2013 11:46:32 AM UTC-4, Helios wrote: > > Hi alll, I would like to produce a plot like this: > > https://imageshack.us/a/img851/1310/plotres.jpg > > I already tried a couple of approaches, but the best I could think of is > to store (apart from the x coordinate) two y coordinates, one for the > continuous line and one for the points. But I can't see how I can connect > the two points with a line. > > What would you suggest? > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
