react-native-pathjs-charts icon indicating copy to clipboard operation
react-native-pathjs-charts copied to clipboard

Any solution to overlapping dates ??

Open nwabdou85 opened this issue 7 years ago • 5 comments
trafficstars

Hi, I want to track anything over time and As you can see in those two pictures; I got an overlapping dates when the number of date exceeds six or seven!!

Any idea or solution to fix this ?

Thank's for help

2017-12-13 16 27 05 2017-12-13 16 27 47

nwabdou85 avatar Dec 13 '17 15:12 nwabdou85

@marzolfb any help here please ?

nwabdou85 avatar Dec 25 '17 15:12 nwabdou85

Admittedly, this library could handle these types of situations better but to cope with the situation you have now, I would make suggestions involving using smaller fonts for labels, reducing label text ('17' instead of '2017' for example), or just reducing the number of data points .

I had a similar situation with wanting to use full date and time for labels on the dynamic label stockline chart in the example app and tried various things like adding a newline between date and time (which also wasn't handled well) but ultimately I wound up reducing the number of characters in my text labels to make things fit appropriately.

marzolfb avatar Dec 26 '17 14:12 marzolfb

@marzolfb in my case, even If I reduce the numbre of charctere, it does not resolve the probleme beaucause with the time we have an infinite data points;

Is there a way to scroll horizontally ?

nwabdou85 avatar Dec 26 '17 21:12 nwabdou85

You should be able to solve that with React Native's ScrollView (using horizontal={true})

marzolfb avatar Dec 27 '17 17:12 marzolfb

@marzolfb nop I tried it before but does not work as excepted. if you do that (horizontal={true}); all the graph will be horizontal and not what I want, I want to scroll Horizontally only the data of each graph and to scroll vertically all the graphs.

Thank's anywy.

nwabdou85 avatar Dec 28 '17 00:12 nwabdou85