Sign in to follow this  
diaryfolio

Dragnode Chart With Css Classes

Recommended Posts

Guys,

 

How to put CSS class details into DragNode elements like <dataset> and <connectors> ?

 

<connector from='${ls.source[0]}' to='${ls.destination[0]}' color='${linkcolor}' strength='1.5' alpha='100' arrowAtStart='0' arrowAtEnd='1' link='' label='${llabel}' />

 

This is what we wanted to do for a data driven view. The data is fetched in a loop using FTL and fed into the connector element. All works fine.

currently the ${linkcolor} is a color hex code (eg BB0000) , but if I want to change it into a class how can I do it?

 

I have a class for defining all ERROR and the line should show RED color. I have a class called ERROR which I can substitute?

Share this post


Link to post
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
Sign in to follow this