hi to all

I've a little problem creating a thematic level in MapBasic with following
code:

Dim f_ranges() as float
Dim brush_styles() As Brush

Create Ranges
>From Comuni
With nomeColY
Use "Equal Ranges"
Number 4
Round 0.1
Into Variable f_ranges

Create Styles
>From Brush(2, YELLOW, 16777215) 'style for LOW range
To Brush (2, RED, 16777215) 'style for HIGH range
Vary Color By "RGB"
Number 4
Into Variable brush_styles

shade comuni with nomeColY ignore 0 ranges From Variable f_ranges Style
Variable brush_styles

Everything is ok, but the "round" option in Create Range Statement seems to
not work: the map is wrong, because the rounding is set to 1 and the
thematic layer lose all record with decimal format

Could somone help me?

Ciao
Paolo, Milano





---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to