Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Grid properties does not update correctly since v0.1.14 #17

Open
rabbl opened this issue Mar 8, 2017 · 0 comments
Open

The Grid properties does not update correctly since v0.1.14 #17

rabbl opened this issue Mar 8, 2017 · 0 comments
Assignees

Comments

@rabbl
Copy link

rabbl commented Mar 8, 2017

I'm passing a grid-property to the Chart Element.

const chartData = {
  columns: [
    ['data1', 30, 200, 100, 400, 150, 250],
    ['data2', 50, 20, 10, 40, 15, 25]
  ]
};

let grid = {
    x: {
        show: true,
        lines: [
            {value: leftBorder, text: 'Eastern model border', position: 'middle'},
            {value: rightBorder, text: 'Western model border', position: 'middle'}
        ]
    }
};

<Chart data={chartData} grid={grid} element="testchart" type="pie" />

The grid-values are loaded on first rendering.
Un update the grid-object it is not working.

Until v0.1.13 it works.

@bcbcarl bcbcarl self-assigned this Mar 11, 2017
rabbl added a commit to inowas/inowas-dss-client that referenced this issue May 4, 2017
There is a bug in the library >0.1.14
See issue here: bcbcarl/react-c3js#17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants