Re: [Dev] DASHBOARD: Bar chart isn't displaying results in expected manner

2016-06-24 Thread Tharik Kanaka
Hi Aneela,

Apparently "logins" attribute is a String type. For bar charts the y axis
needs to be linear scale that means you need to have an attribute type such
as int, long, double and float.

Regards,

On Fri, Jun 24, 2016 at 11:57 AM, Aneela Safdar  wrote:

> Hi all,
>
>
> I am using bar chart to display results outputted from execution plan.
>
> My output stream has results in form:
>
>tslogins
> 1.2016-05-08 08:591
> 2.2016-05-08 09:005
> 3.2016-05-08 09:011
> 4.2016-05-08 09:135
> 5.2016-05-08 09:142
>
>
> I set x-axis as ts and y-axis as logins
>
> Following are the problems I am dealing with:
>
> 1.y-axis values are in ascending order from top to bottom and I want
> vice versa.
> 2.Bars are not being displayed at all on graph. It just looks like a
> blank graph having intervals marked on it.
> Below is aforementioned chart.
>
> [image: Inline image]
> Thanks,
>
> Regards, Aneela Safdar
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] DASHBOARD: Bar chart isn't displaying results in expected manner

2016-06-23 Thread Aneela Safdar
Hi all,

I am using bar chart to display results outputted from execution plan.
My output stream has results in form:
           ts    logins1.
2016-05-08 08:59    12.2016-05-08 09:00 
   53.2016-05-08 09:01    14.
2016-05-08 09:13    55.2016-05-08 09:14 
   2

I set x-axis as ts and y-axis as logins
Following are the problems I am dealing with:
1.y-axis values are in ascending order from top to bottom and I want vice 
versa.2.Bars are not being displayed at all on graph. It just looks like a 
blank graph having intervals marked on it.Below is aforementioned chart.


Thanks,

Regards, Aneela Safdar___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev