Hi Tharik,

There are situations like we have data set with epoch time attribute and we
want to plot those data in bar chart under the following two condition :

1 > it should be plot withing the given time periods and scale.
2 > if there is no data for the particular date, it should be shown as
empty.

With the current tooling, user must have to create mock-up data [ I means
user have to create empty records] for doing these task and if we have time
scale for x axis can we have options like 1 and 2.

Thanks,
SajithD

On Tue, Jun 14, 2016 at 2:01 PM, Dunith Dhanushka <[email protected]> wrote:

> +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
>
>


-- 
Sajith Dimal
Software Engineer
Mobile : +94783101496
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to