+1 , I will do a bar chart sample using 'Vega' with the features we have
discussed and then we will see how we can extend that implementation to the
other types of charts :)

On Mon, Mar 2, 2015 at 6:05 PM, Dunith Dhanushka <[email protected]> wrote:

>
> Hi all,
>
> Today we had a discussion on using Vega [1] library underneath igviz. Vega
> comes with a highlevel visualization grammer that runs on top of D3. In
> addition to that it's got some polished UI so that it'll save more efforts
> for fine tuning the charts.
>
> Please refer mail thread [RFC: Building a Generic Configurable UI Gadget
> for Analytics] for a background on IGviz.
>
> Igviz's main API interface is
>
> var chart = igviz.plot(canvas,chartConfig,dataTable);
>
> Plan is to keep Igviz's plot() method unchanged and transform DataTable
> and chartConfig objects to the format that vega expects.
>
> where canvas is the div element that chart is being drawn,
> chartConfig is the JSON object that contain parameters required to draw
> the chart. (E.g xAxis, yAxis, width, height)
> dataTable is the JSON formatted tabular data structure that passes data
> for the chart
>
> Following are the discussed action items:
>
> 1. Keep the current DataTable structure intact and have Igviz trasform it
> to the format that vega expects.
> 2. Depending on the chartConfig.chartType, create Vega's marks[]
> components.
> 3. Explore the possibility of doing drill downs using Vega. (Tharindu has
> already done that on Igviz)
> 4. Figure out a way of upadting the chart dynamically. We agreed to make
> DataTable's schema fixed during the update.
>
> Tharindu, please add anything I missed here.
>
> [1] http://trifacta.github.io/vega/
>
> Thanks,
> Dunith
>
> On Mon, Mar 2, 2015 at 10:52 AM, Tharindu Munasinghe <[email protected]>
> wrote:
>
>> Hi all,
>>     Pubudu,Fawsan and Fasna has started this project as their training
>> project and they did the implementations of  table, single value , map ,
>> line charts . Me and Dunith have  been continuing  this project to make it
>> a generic library so that any product can use it.
>>
>>       So far igviz.js library supports bar charts ,scatter plots, tables
>> , maps , single number graph , line and  area charts with drill-downing
>> options for hierarchical  data sets .
>>       Please find the samples hosted at [1] and the implementation at
>> [2]. Documentation for the configuration parameters can be found at [3] .
>>
>> [1] igviz.js samples <http://dunithd.github.io/igviz/samples/>
>> [2] igviz.js source code <https://github.com/dunithd/igviz>
>> [3] GenericUIParameterNames
>> <https://docs.google.com/a/wso2.com/spreadsheets/d/1tCf3lTZ7kkEXdK7T75tKEXqm0QhsZZpiF47saKNMboc/edit#gid=0>
>>
>> Thanks,
>> --
>> *Tharindu Munasinghe*
>> Software Engineering Intern
>> WSO2 Inc.(http://wso2.com)
>> SRI LANKA
>>
>> Mobile: +94 77460887
>> E-Mail:  [email protected]
>>
>
>
>
> --
> Regards,
>
> Dunith Dhanushka,
> Senior Software Engineer - BAM,
> WSO2 Inc,
>
> Mobile - +94 71 8615744
> Blog - dunithd.wordpress.com <http://blog.dunith.com>
> Twitter - @dunithd <http://twitter.com/dunithd>
>



-- 
*Tharindu Munasinghe*
Software Engineering Intern
WSO2 Inc.(http://wso2.com)
SRI LANKA

Mobile: +94 77460887
E-Mail:  [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to