Vizlib Community

Submit a ticket Sign in
Welcome
Login

Vizlib Combo Chart - Custom Axis Tick Format in Y-axis

Hi,


I have a Vizlib Combo Chart and in the Y-axis I need to have a Custom Axis Tick Format that formats the value based in a variable.


Let's say, if the value of the variable is "A", it will format the axis with values like "10000", "20000",.... If the value of the variable is "B", it will format the axis with values like "100,00€", "200,00€",...

 

I can't make this work for the € currency, this will show like "$100.00". How can we configure the currency parameters to show €?

 

My expression in the Custom Axis Tick Format is like this: 


If('$(myVar)' = 'A',

    '.0f',

    '$,.2f'

)

 

Thank you.

Login to post a comment