Assign the User Defined Specific Color to Area in Area Bar Chart

Posted on by By admin, in Jaspersoft | 0

Prerequisites: Jasper Server 6.4.0
Database: Foodmart
User want to displays profit and loss in area bar chart using HTML5 chart.following is the result set:

But if we want to displays profit in green and loss in Red color. To assign the color, if we try to change using the pallet color:
Primary palette color sequence is

If we modify the palette color


The resultset will be:


To overcome this issue just need to write one expression in Color palette i.e Arrays.asList(“Red”,”Green”)

Resultset will be:


In case if you have any queries please get us at support@helicaltech.com

Thanks,
Koyalwar Neha
Helical IT Solutions Pvt Ltd

logo

Best Open Source Business Intelligence Software Helical Insight is Here

logo

A Business Intelligence Framework

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments