116 views
in Embedded Wizard Studio by

I Have chosen a stroke path to create a circular scale range from 0 to 120. On the scale I want to keep numbers only with 10 increments (say 10, 20, 30 40 50 .... 120) & want to remove in-between numbers Say 1 to 9, 11 to 19, 21 to 29...... 111 to 119 (These numbers are appearing on the circular scale in the next concentric circular space which is been marked red for your reference). Have created slot method called "Adjust Label" to create scale as well the numbers.  Kindly assist me in removing those numbers. 

1 Answer

0 votes
by

Hello HemanthKumar,

These numbers are appearing on the circular scale in the next concentric circular space which is been marked red for your reference

Assuming, the numbers 1..9, etc. are Text views arranged in AdjustLabel method, I would review this method. In fact, I have no idea how the numbers are displayed in your application. Possibly some if condition is needed to display the numbers only for the values 10, 20, 30, ... For example:

var int32 v = ...

// Is v equal 10, 20, 30, ...
if ( !( v % 10 ))
{
  ... arrange a text view for the value v
}

Best regards

Paul Banach

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...