oksktank / react-native-pure-chart

react-native chart library that not using svg or ART but only using react native pure components.
MIT License
287 stars 132 forks source link

Show all X-axis labels, X-axis start offset #27

Open KlimczakM opened 6 years ago

KlimczakM commented 6 years ago

Can I display all X-axis labels, not only every second label? Something like numberOfXAxisGuideLine would be enough.

Also, can I add a start offset to X-axis (left margin?) so the first X-axis value would not lay on the Y-axis?

Btw. thank you for this library.

oksktank commented 6 years ago

Hi,

Sadly, it's not supported now. we'll add options for xAxis as soon as possible.

Thank you for using this library.

oksktank commented 6 years ago

@KlimczakM Sorry for late

Displaying all x-axis labels are now possible in recent release. Set 'showEvenNumberXaxisLabel' prop in to false

Left margin of X-axis is in progress(not available now)

VoonaVenkatesh commented 5 years ago

I kept showEvenNumberXaxisLabel = 'false' prop but it didn't worked

seersol92 commented 5 years ago

@VoonaVenkatesh try showEvenNumberXaxisLabel = {false}

ashikhp commented 3 years ago

thanks bro

nolife08021 commented 3 years ago

@oksktank hi, how do we add 'margin of X-axis'?