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.

LineChart will not change colors #134

Closed

Description

@rnaar

The line chart is rendering with a solid gray fill color, and will not change with varying options for background color in dataset, or when the fill is set to false. Data object in dataset that is being used is the same as the one in the documentation for chartjs under 'Data Structure' for LineChart.

http://www.chartjs.org/docs/#line-chart-data-structure

Activity

  1. ledsun commented on Jul 19, 2016

    @ledsun

    The react-chartjs is not support Chart.js V2.

    If you use Chart.js v1.1.1, that has not a backgroundColor option.
    Please refer documents of Chart.js v1.1.1.

    If you want to use Chart.js V2, please try chartjs-v2 branch.

    npm i react-chartjs@git://github.com/reactjs/react-chartjs.git#chartjs-v2
    
  2. janakact commented on Nov 23, 2016

    @janakact

    @ledsun
    Thanks a lot 👍

  3. Jareechang commented on Jan 14, 2018

    @Jareechang
    Collaborator

    closing due to issue being differences in documentation.

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