+1 for letting users to select data types for X,Y axes.

We could have a UI partial along with X,Y axes to show available types so
that user can select explicitly. Upon selecting the types, they can be
persisted in chart-config object. So draw() can read it back when chart is
being rendered.

Thanks,
Dunith

On Tue, Jun 14, 2016 at 1:12 PM, Tharik Kanaka <[email protected]> wrote:

> Hi All,
>
> At the moment in gadget wizard chart config UI we let users to select x
> axis and y axis, then dimension type will be retrieved by checking stream
> attribute type. As an example if the attribute type is string it gives
> ordinal and for long type it gives linear.
>
> Currently there are few limitations such as Timestamps are stored in long
> and these will be converted to linear scale not time scale. There could be
> situations where users need a long column attribute to show in ordinal
> scale.
>
> In order to enhance these requirements we decided to let users to select
> types as well. So there will be addition to fields for x axis type and y
> axis type with 4 options namely default, ordinal, linear and time. If user
> keeps default option it will retrieve as previous way else user could
> select desired type. Since these are advance configurations and a typical
> user may not use frequently, we could keep these controls separately in
> chart config UI. Please mention your thoughts on this.
>
> Regards,
> --
>
> *Tharik Kanaka*
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: [email protected] | Web: www.wso2.com
>



-- 
Regards,

Dunith Dhanushka,
Associate Technical Lead
WSO2 Inc,

Mobile - +94 71 8615744
Blog - *https://medium.com/@dunithd <https://medium.com/@dunithd>*
Twitter - @dunithd <http://twitter.com/dunithd>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to