Forum Stats

  • 3,783,607 Users
  • 2,254,809 Discussions
  • 7,880,481 Comments

Discussions

How can I assign color attribute for dvt:series dynamically ?

746878
746878 Member Posts: 11
I want to assign color for dvt series.

It works good if I set a static color as followed :
<dvt:series index="0" markerType="MT_BAR" color="#000084"/>

However, it doesn't work if I set the color like that:
<dvt:series index="0" markerType="MT_BAR" color="#{mybean.color}"/>

I watched some corresponding documents. They say the color attribute doesn't support el expressions.

How can I solve this problem.


Thanks !
This discussion has been closed.