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
Hi, I am using the 3.x version and the progress is ignoring the low value that I am giving. Progress is starting from 0 no matter what I do. Also, how can an image be added as a pointer to indicate the progress? I have tried but no result.
The text was updated successfully, but these errors were encountered:
after loooots of trial and error and reading of the code i came up with this code which adds an image as a pointer.
I am adding this here as a reference.
`
final Bitmap indicator = BitmapFactory.decodeResource(this.getResources(), R.drawable.indicator02);
ScPointer pointer = gauge.getHighPointer();
pointer.setVisible(true);
pointer.setType(ScNotches.NotchTypes.BITMAP); // <======= this tells the repetition drawer that the pointer is a bitmap
pointer.setBitmap(indicator);`
Hi, I am using the 3.x version and the progress is ignoring the low value that I am giving. Progress is starting from 0 no matter what I do. Also, how can an image be added as a pointer to indicate the progress? I have tried but no result.
The text was updated successfully, but these errors were encountered: