Skip to content

Doco sample and reality differs #1

@LarsStavholm

Description

@LarsStavholm

The sample code says graph.series_json returns

"[{"data": [[1, 1], [2, 2], [3, 3]]}]"

...whereas in reality my sample code returns

"[{"line": {"show": true}, {"data": [[1, 1], [2, 2], [3, 3]]}]"

Using latest pyflot from github as of today, latest jQuery, python 2.7.1.

It would appear that the "line" part should have been in options.
Needless to say, no graph is shown.
Removing the "line" part allows for graph to show.

What's the story?

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