-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant provide x and y coordinates for bar data #2892
Comments
@Montrazul can you drop this in a fiddle? |
Sure, https://jsfiddle.net/av15kuwj/6/ I just noticed that there are more things not correct. First thing is that Here i used only y-value for the bar data. but as i said i would like to be able to use x and y values like i did for the line data so that the line and bar data are completely independent from each other. Also the
for the bar data is ignored. |
+1 I also would like to specify my bar and line chart data in sparse format: {x: value, y: value} I'm already storing my data in sparse format and when it is updated the chart is not two-way bound b/c the data is an array of values rather than an array of objects which would be mapped to the source object. |
+1 👍 I've also ran into this issue, can have data from serval logfiles, where each can have a different log interval. Am displaying multiple graphs at the same time, which can be from several logfiles at once, meaning I need the possibility to have the data stored as with X / Y per entry. So I tried using the sparse format but as it turns out it isn't supported for bars and so far I don't see any workaround for this issue? |
+1 👍 I have a perfectly working time scale |
Hello,
i wanted to create a combined chart using the latest version of chart.js (2.1.6) a line and a bar chart in the same chart. This is my code:
`
`
As you can see for the line data im doing the following:
Unfortunately this is not possible for bar data. If i do this for bar data:
Instead of this:
The bar data is never showing up. Isnt there a similar functionality for bar data like it is for line data since there is no match between my line and my bar data. Just because i have a line data value for 08:00 o'clock that does not mean that there is a bar data value for 08:00 o'clock. And also there does not have to be a matching line data value for bar data.
The text was updated successfully, but these errors were encountered: