point: { show: false },
False to hide dots and true to show dots
Note: Make sure you are going to write this after loading the data and along with other settings in c3. Create function
Here is an example: http://c3js.org/reference.html#point-show
In the code below, I highlighted the code with a comment:
var chart = c3.generate({ bindto: '#CYCLE_CHART', data: { columns: [ ["Cycletime"].concat(objCycle.cData), ["Downtime"].concat(objDowntime.dData), ["StdCycletime"].concat(objStdCycle.stdCData), ["StdLoadunloadtime"].concat(objStdLUtime.stdLUData), ], type: 'spline', types: { Cycletime: 'bar', Downtime: 'bar' }, names: { Cycletime: 'Cycle time', Downtime: 'Load time', StdCycletime: 'Std Cycle time', StdLoadunloadtime: 'Std Load time' }, }, axis: { x: { label: { text: 'Cycles', position: 'outer-center' }, max: 10, min: 1, }, y: { label: { text: 'Seconds', position: 'outer-middle' }, max: Y_axis, min: 1, } }, // Here! point: { show: false }, tooltip: { show: true } });
user1909447
source share