-
JustinJune 16, 2016 at 1:21 pm #6213
Evening Tom,
Using the above. I like the number of graphs I can present but, without a target in the same graph I cant present information in a best or worse case scenario.
Is it possible to show multiple series within the same graph and present two sets of numbers within the black info box?
Regards
J
vizulyJune 16, 2016 at 1:38 pm #6214Hi Justin,
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.
– Tom
-
|
You must be logged in to reply to this topic.