vizulyJune 16, 2016 at 1:38 pm #6214
Yes, that should be relatively easy.
The linear_mobile.js graph file is an optimized version of our desktop LineArea Graph.
The data property can accept an array of arrays. With each array acting as a series of data points (makes some assumptions on common xScale values..)
In the mobile app example files you can see we are only passing in one array.
var chart=vizuly.viz.linearea_mobile(item) .data([symbols[i].values])
You would want to modify this to pass in two arrays, one for actual and one for targets. You would probably want to customize vizuly.theme.linearea_mobile() or make your own theme as well to support any different Style or UX treatment between targets and actuals.
I hope that helps get you pointed in the right direction.
You must be logged in to reply to this topic.
© 2021 — vizuly.io