Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Any solution to overlapping dates ?? #213

Open
nwabdou85 opened this issue Dec 13, 2017 · 5 comments
Open

Any solution to overlapping dates ?? #213

nwabdou85 opened this issue Dec 13, 2017 · 5 comments

Comments

@nwabdou85
Copy link

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
Copy link
Author

@marzolfb any help here please ?

@marzolfb
Copy link
Contributor

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.

@nwabdou85
Copy link
Author

@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 ?

@marzolfb
Copy link
Contributor

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

@nwabdou85
Copy link
Author

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants