Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

v2: support horizontalBar chart #115

@ghost

Description

Chart.js supports horizontalBar charts as of lately, see:
http://jsfiddle.net/3xts05xu/

But it's impossible to pass horizontalBar type, because type gets lowercased on this line:
https://github.com/jhudson8/react-chartjs/blob/chartjs-v2/lib/core.js#L76

What is the purpose behind .lowercase()?
Wouldn't it be better to allow to pass any type and leave it up to chart js to throw error?

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