c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.34k stars 1.39k forks source link

Option data_hide does not always work #2685

Closed panthony closed 4 years ago

panthony commented 5 years ago

On this fiddle you can find the most simple reproduction case:

http://jsfiddle.net/fbtgwh6n/

{
        data: {
          columns: [
            ['data1', 30],
            ['data2', 10]
          ],
          type: 'bar',
          hide: ['data1']
        }
}

You can see that data1 is visible but as if it did not exist (drawn behind data2).