Only horizontal and vertical lines

11 views
Skip to first unread message

robi...@kth.se

unread,
Jan 23, 2016, 6:45:53 PM1/23/16
to Google Visualization API
Hi, me and my friend are making a line graph of prices and we want to graph the prices so that the lines are horizontal until there's a price change and then they go vertical to the new price and stay horizontal until the next price change. How would you go about doing this?

Thanks

Daniel LaLiberte

unread,
Jan 24, 2016, 1:30:06 AM1/24/16
to Google Visualization API
This sounds like a stepped line chart.  You can use the SteppedArea chart and set the areaOpacity to 0. See https://developers.google.com/chart/interactive/docs/gallery/steppedareachart

On Sat, Jan 23, 2016 at 6:45 PM, <robi...@kth.se> wrote:
Hi, me and my friend are making a line graph of prices and we want to graph the prices so that the lines are horizontal until there's a price change and then they go vertical to the new price and stay horizontal until the next price change. How would you go about doing this?

Thanks

--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/e2e5d90a-3aaa-4ddc-934d-81ddd681b68c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages