You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A jsFiddle demonstrating the problem would be helpful. At a minimum, can you include how your data object is defined, and what order you are loading your scripts?
This is also probably a better fit for StackOverflow, which definitely requires enough code to reproduce the problem.
That's the problem. I've tried defining options as shown in documentation without success. If someone could demonstrate first documentation example working on a jsfiddle would be helpfull.
I think it would be best to produce a JSFiddle or codepen for your setup, and we'll take a look. I am currently using 2.0-alpha4 in production. It works great, and there are still some quirks to work out (you may have found one, who knows). Post the link here and we'll take a look!
Activity
tiesont commentedon Oct 1, 2015
A jsFiddle demonstrating the problem would be helpful. At a minimum, can you include how your
dataobject is defined, and what order you are loading your scripts?This is also probably a better fit for StackOverflow, which definitely requires enough code to reproduce the problem.
joaocosta-azores commentedon Oct 2, 2015
That's the problem. I've tried defining options as shown in documentation without success. If someone could demonstrate first documentation example working on a jsfiddle would be helpfull.
tannerlinsley commentedon Oct 2, 2015
What version are you using?
v1.x samples:
https://github.com/nnnick/Chart.js/tree/master/samples
v2.0-alpha samples:
https://github.com/nnnick/Chart.js/tree/v2.0-dev/samples
joaocosta-azores commentedon Oct 2, 2015
v2.0.0-alpha4
Probably it's the problem.
tannerlinsley commentedon Oct 2, 2015
I think it would be best to produce a JSFiddle or codepen for your setup, and we'll take a look. I am currently using 2.0-alpha4 in production. It works great, and there are still some quirks to work out (you may have found one, who knows). Post the link here and we'll take a look!
etimberg commentedon Oct 2, 2015
@jonnydevv v2.x uses a different way of instantiating the chart. See the samples that @tannerlinsley linked on how to do it. It's different than v1.x