On Fri, Jan 3, 2020 at 3:06 PM W. E. <[email protected]> wrote: > 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 > > > image 2 > > > Best regards, > Wiedo > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev >
-- *Chiran Fernando* Senior Software Engineer | WSO2 Email : [email protected] Mobile : +94716007376 <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
