442 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...