Jump to content

Text function inside $map function to customize dynamic naming of columns


Luke George

Recommended Posts

I have a line chart with multiple columns (dynamically selected) on the Y-axis. I am using the below custom expression to name the columns on the X-axis:

$map("Avg($esc(${ElementsSpider1})) as $esc(${ElementsSpider1})", ",")

Is there any way to also use a text function in this expression to further customize the naming Somthing like this for example:

$map("Avg($esc(${ElementsSpider1})) as Split($esc(${ElementsSpider1})," ",1)", ",")

Link to comment
Share on other sites

Hi Gaia,

I've attached a simplified dxp as an example. As you can see, there are two line plots with normalisation and display elements chosen dynamicallywith document properties. I would like to remove the integer after the element name on the x-axes column labels(e.g., change "Si 2" to "Si).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...