Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
This code works fine (it just make a format so numbers under one percent show a decimal, else show a interger) - but I want the code to change the font color as well - how do I do that?
=
if ((
SUM({1<Year={$(v_year)}>} DKK))/ (SUM({1<Year={$(v_year)}>} TOTAL DKK))<0.01, NUM((SUM({1<Year={$(v_year)}>} DKK))/ (SUM({1<Year={$(v_year)}>} TOTAL DKK)), '#.##0,0%') ) &
if ((
SUM({1<Year={$(v_year)}>} DKK))/ (SUM({1<Year={$(v_year)}>} TOTAL DKK))>=0.01, NUM((SUM({1<Year={$(v_year)}>} DKK))/ (SUM({1<Year={$(v_year)}>} TOTAL DKK)), '#.##0%') )
Can I add a font style?
Thanks in advance 🙂
(By the way my code is used in the Ideovision Map extension, but I think its a common issue for all expressions)
Thanks - then I dont think there is a solution. The only color option I have is the background color and that works fine - I cant find a place to change label color. I think I make a textbox and order it to the front of the map instead. Thank you very much for your time 🙂
Since it's an extension we need to add the logic code in the extension to change the Label color ..if it was a QV default object it would come by default . Get in touch with your extension developer and ask to add this part also
I am new to extension oriented
Try this?
<Label Id = "LabelID"> Welcome </Label>
<Style>
#LabelID
{
Color : Red;
Font-Weight : Bold;
}
</Stlye>
Or else simple do this with in the tag if you feel bad in Styles
<Label Style = "Color : Red; Font-Weight : Bold"> Welcome </Label>
He want the labels to change as per the expression the above gives the constant color for him rite ?
It would be easy enough to add this into the script for the extension, but guessing that is down to the developer...
Is this a paid extension I assume?
Yes its a paided extension: Ideovio which is a very nice map for QV. I'll ask them and be back with the feedback here 🙂