flow variable in css

Hi,

How can I use flow variable to edit css? I want to use user inputs for some of the css values such us opacity of datapoints in a plot. I could not find possibilty to use flow variable in css editor or directly in Generic JavaScript View css area.

e.g: .dot {
opacity : $${Sopacity}$$;
}

Regards,
Nithin

Hi @nithinth7

I think this is not possible, but you can prepend flow variables using the prepend option. So you could create a flow variable with the value combining the string manipulation (variable) and string input that looks like this:

.dot {
opacity : (with input from user);
}

and prepend the flow variable to the css node.

Best wishes,
Ana

1 Like

Hi @ana_ved

Thank you :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.