Formatting Series in a user defined column. How?
Hi,
i have some difficulties using the template language in a user defined column.
I defined a template to a used defined text column. So make it simple, i reduce this example to the part, which i can not solve.
This one works, it formats the series index to 6.1f in square brackets.
{series_index:0>6.1f|[|]: }
Now i want to omit the output if the series index is zero (not empty but zero). I started with this one without formatting and without square brackets.
{series_index:'cmp($,0,'','',$)'}
How can i get the formatting in it? I tried different ways, but i always get template errors.
Anyone who can help me?
Best regards,
Anselm
|