Linear line Chart with datetime Data #9897
Falkenstone
started this conversation in
General
Replies: 1 comment 1 reply
-
Issue is the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
i try since days to realize a linear line Chart with datetime data with version charts 3.6.0. All example ive found are realized with older version and nothing is completely, always fragments. With older versions it seems working with date adapter "moments".
Can anyone give me a complete code with HTML + js and the data structure without loading from json or something like that.
In which format is the data structure. Is x or t from type string or millis or what ever and is it always necessary to fill labels or only label and the y value. Which script files in the HTML head or other modules?
var data = [{t: '2015-03-15', y: 12},
{t: '2015-03-25', y: 21},
{t: '2015-04-25', y: 32 }];
var labels = ["2015-03-15", "2015-03-25", "2015-04-25"];
thx Falke
Beta Was this translation helpful? Give feedback.
All reactions