react-native-pure-chart icon indicating copy to clipboard operation
react-native-pure-chart copied to clipboard

LineChart (Multi Series) - Not showing info of single line series data.

Open durgesh94 opened this issue 5 years ago • 2 comments

sampleData = [ { seriesName: 'Series1', data: [ { x: '24-Feb', y: 66 }, { x: '25-Jun', y: 77 }, { x: '26-Oct', y: 44 }, { x: '27-Dec', y: 9 }, { x: '25-Dec', y: 70 } ], color: 'blue', }, { seriesName: 'Series2', data: [ { x: '24-Apr', y: 90 }, { x: '24-Apr', y: 60 } ], color: 'red', }, ];

Woking fine with parallel two series data but not working for single series data. please refer attached screenshots. Screenshot1: working fine. Screenshot2: clicking on the green circle dots, it is not showing info as screenshot1. with above data. screenshot1 screenshot2

durgesh94 avatar Jan 14 '20 18:01 durgesh94

having the same issue. Did you ever find a fix???

HahaHopeless avatar Oct 28 '20 16:10 HahaHopeless

BTW, I think that it supposed to be this way because the data for the specific date can either be 0 or more than 0 and not null. So it makes sense that this works only with parallel data and not with single line in multiple series mode.

HahaHopeless avatar Oct 29 '20 13:10 HahaHopeless