Reputation: 145
I charting control we round off the data say if you have data as 1.3456 it is rounded off to 1.345 can we extend the digit after the decimal to 4 or 5.
Upvotes: 0
Views: 112
Reputation: 330
you can use valueformat property for controlling decimal places
chart.GetAxis().GetLeft().GetLabels().SetValueFormat("0.0000") //for 4 decimal places chart.GetAxis().GetLeft().GetLabels().SetValueFormat("0.00000")//for 5 decimal places similerly for bottom axis as well.
Upvotes: 5