msafi Posted October 26, 2009 Share Posted October 26, 2009 Hi How to set dynamic colors for a bar chart, my plot looks likes this, the hardcoding of the color works, but i wanted to pass a set of colors as parameters and use them in plot series, is that something possible? Please Suggest. <bar3DPlot isShowLabels="true"> <plot> <!--<seriesColor seriesOrder="0" color="#3A6E90"/>--> <seriesColor seriesOrder="0" color="$P{primary_color}"/> <seriesColor seriesOrder="1" color="#F58029"/> <seriesColor seriesOrder="2" color="#53BDEC"/> <seriesColor seriesOrder="3" color="#6A8098"/> <seriesColor seriesOrder="4" color="#7F8084"/> </plot> Link to comment Share on other sites More sharing options...
msafi Posted October 27, 2009 Author Share Posted October 27, 2009 reading more on forum looks like there is no straight way of doing this, can some one help me here on, what customization needs to be done if i need to change my seriesColor at runtime (i.e) what base classes that i need to modify? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now