Open sibidharan opened 2 years ago
@mrholek any fix for this?
@sibidharan you should pass pointBackgroundColor
in your dataset for CChartLine
like:
<CChartLine
...
data={{
....
datasets: [
{
backgroundColor: 'transparent',
borderColor: '#321fdb',
borderWidth: 2,
data: [41, 78, 51, 66, 74, 42, 89, 97, 87, 84, 78, 88, 67, 45, 47],
pointBackgroundColor: '#321fdb'
},
],
}}
...
On line charts, it works very well.
On bar charts, the color is not being displayed in the tooltip.
Is there any way to fix this?