Skip to content

Multiple charts #69

Closed
Closed
@rogiervandongen

Description

@rogiervandongen

When using multiple graphs on a single page and only configure the datalabels for use on a single dataset (no globals, no chart wide configuration) in one specific graph, the datalabels implementation crashes and keeps the rest of the javascript code fro running due to an error on the following:

var expando = chart[EXPANDO_KEY];

This evaluation, hence the variable "expando" will be undefined.
Any code depending on this variable, or the existence of chart[EXPANDO_KEY], will inherently fail.

I personally ended up by adding "if (expando === undefined) {return;}" after each of these calls for my report pages to continue working as intended.

Please resolve

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions