Skip to content

Object dataformat not working #8424

Description

@LeeLenaleee

Feature Proposal

Whenn using object data like this [{x: 5, y: 10}, {x: 8, y: 99}], if no labels array with integers if given transform the x values to the labels or give an error. Now it feels weird why its not working.

fiddle showing issue: https://jsfiddle.net/Leelenaleee/cj10653p/17/

Possible Implementation

Check if labels array is present and object index axis value is a number. If this is the case either throw an error: labels array needed with numbers to show on axes or convert them to strings

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions