Closed 9prady9 closed 7 years ago
Right now, the input arguments to this function are booleans. I am wondering if the inputs to setAxesLabelFormat
should be an enum instead of boolean to be future proof. @arrayfire/core-devel Any ideas ?
I think an enum about be better. That said, I don't know of any other widely used number formats. The only thing I can think of is if we use logarithmic charts, but even in that case, the numbering format will be one of these 2.
Enums would be ideal. It would make the code more readable.
@shehzan10 pls check now.
@shehzan10 You can review it now. Auto-switch to scientific notation is now enabled.
Shall be merged through https://github.com/arrayfire/forge/pull/129
Added a member function to Chart object to set number display format for axes labels.