You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I cannot find a way to add padding to the linear gauge, as you can see in the below image there is padding/margin between the pointer and the gauge itself.
Additionally, as per the below image, I would like a custom label formatter where we can specify the text to show for the label. E.g. instead of showing the double value of the gauge, we can show any text.
Describe the solution you'd like
A good solution would be to add a padding property to the Pointer object, this padding value can be used when calculating the offset of the label before drawing onto the canvas.
A potential solution for the custom label could be to have a property similar to the onchanged property that gives the user access to the double value but returns a string object and the user has a choice if they want to use the double value or not.
I.e.,
Is your feature request related to a problem? Please describe.
I cannot find a way to add padding to the linear gauge, as you can see in the below image there is padding/margin between the pointer and the gauge itself.
Additionally, as per the below image, I would like a custom label formatter where we can specify the text to show for the label. E.g. instead of showing the double value of the gauge, we can show any text.
Describe the solution you'd like
A good solution would be to add a padding property to the Pointer object, this padding value can be used when calculating the offset of the label before drawing onto the canvas.
A potential solution for the custom label could be to have a property similar to the onchanged property that gives the user access to the double value but returns a string object and the user has a choice if they want to use the double value or not.
I.e.,
Additional context
Add any other context or screenshots about the feature request here.
Example of final product:
Many thanks guys, a really great Gauge library!
The text was updated successfully, but these errors were encountered: