Hi all,

I have a urgent issue with creating a widget for a dashboard. Im currently 
creating a widget in the widget designer in the dashboard portal with a RDMS as 
a real time datasource. I choose a line chart and choose the ID column for the 
x-axis and a result column for the y axis. I have a other column that should 
determine the line color of the chart. This column is named "prediction". When 
prediction = 0 I want a green color and when its 1 it should have a red color. 
I see the option "Data field, according to which, color categorization is done" 
in the widget designer, when I choose the prediction column for this option I 
get the below chart (image 1). The problem with this is that I want all 
datapoints to connect with each other. Doesnt matter if the prediction is a 0 
or 1. I just want the line and point to have a different color based on the 
prediction value. To make clear what I mean see image 2. U can see here that 
lines are red and green based on the prediction value. I also want the points 
to be red and green. How can I do this in the widget designer? Thanks for the 
help.

image 1
[cid:e5dee746-315a-4128-a84f-561952b189e9]

image 2
[cid:3e80c754-2bf0-4d7f-976f-af4e4042ff25]

Best regards,
Wiedo
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to