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

Allow Donut to handle PHP json_encode output #189

Closed
wants to merge 1 commit into from

Commits on Feb 17, 2013

  1. Allow Donut to handle PHP json_encode output

    Currently, Morris.Donut produces a chart with a load of tiny little bars on the bottom right of donut charts generated from data straight from PHP's json_encode function.
    
    The other chart types don't do this, because they parse the values into Int/Float values.
    
    This change adds "parseFloat" to the line of the Donut code which reads the x.value, which brings it into line with the other chart methods, and makes json_encode output work as expected
    
    It also has a longer commit summary than the amount of code added...
    mpettitt committed Feb 17, 2013
    Configuration menu
    Copy the full SHA
    ad5b1c8 View commit details
    Browse the repository at this point in the history