Skip to content
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

Support dataset labels #612

Closed
fulldecent opened this issue Sep 9, 2014 · 2 comments
Closed

Support dataset labels #612

fulldecent opened this issue Sep 9, 2014 · 2 comments

Comments

@fulldecent
Copy link
Contributor

I am using this dataset:

var data = {
    labels: [],
    datasets: [
        {
            label: "PMT",
            fillColor: "rgba(187,0,25,0.5)",
            data: [65, 59, 80, 81]
        },
        {
            label: "ATC",
            fillColor: "rgba(29,74,124,0.5)",
            data: [28, 48, 40, 19]
        },
        {
            label: "RUSH",
            fillColor: "rgba(72,164,218,0.5)",
            data: [28, 48, 40, 19]
        }
    ]
};

And get this chart:

screen shot 2014-09-08 at 4 21 55 pm
screen shot 2014-09-08 at 4 22 00 pm

Was expecting the PMT, ATC and RUSH labels to be shown on the screen.

Fiddle: http://jsfiddle.net/jxnper69/

@macdabby
Copy link

I was having the same issue and created a patch: #657

@fulldecent
Copy link
Contributor Author

related #838

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants