Skip to content

Pie chart don't work out of the box #4

Open

Description

@frague59

Hi,

Same issue with pie chart :
print series_json = [{"data": [{"data": 2, "label": "Bureau"}, {"data": 1, "label": "Atelier"}, {"data": 1, "label": "Commerce"}, {"data": 1, "label": "Stockage"}]}]

but should be :
[{"data": 2, "label": "Bureau"}, {"data": 1, "label": "Atelier"}, {"data": 1, "label": "Commerce"}, {"data": 1, "label": "Stockage"}]

I can see a a graph with :
var plot = $.plot(placeholder, {{ graph.series_json|safe }}[0]['data'], options);

Activity

  1. unbracketed commented on Nov 22, 2012

    @unbracketed
    Owner

    Thank you for the report. I'm on holiday for a few days and will investigate soon.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions