Skip to content

Server side rendering of flot pie charts broken #1

Description

@lukegalea

Line 180 of jquery.flot.pie.js says:
target = $(canvas).parent();

But there is no parent for the node-canvas, so it fails and subsequently all pie rendering fails.

Not sure of the solution for this. If we were using jsdom this likely wouldn't be an issue.. I guess the alternative is to modify the pie library?

Does learnboost use the rgraph pie chart to get around this?

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions