Re: [FlexJS] SVG and Charts

2014-09-24 Thread Peter Ent
This is how I see it in ActionScript. FlexJS Charts has ChartDataGroup which I have as a GraphicsContainer to provide the foundation . ItemRenderers get created and are added via chartDataGroup.addElement(itemRenderer). Each itemRenderer instance creates the graphics it needs and adds that via addE

Re: [FlexJS] SVG and Charts

2014-09-24 Thread Peter Ent
OK, I'll cook something up. --peter On 9/24/14 3:17 PM, "OmPrakash Muppirala" wrote: >Great! > >It would be helpful for me to see an example of usage in ActionScript as >well as MXML, so I can build the APIs accordingly. > >Thanks, >Om > >On Wed, Sep 24, 2014 at 12:14 PM, Peter Ent wrote: > >>

Re: [FlexJS] SVG and Charts

2014-09-24 Thread OmPrakash Muppirala
Great! It would be helpful for me to see an example of usage in ActionScript as well as MXML, so I can build the APIs accordingly. Thanks, Om On Wed, Sep 24, 2014 at 12:14 PM, Peter Ent wrote: > I think using is the way to go. Probably need a GraphicsGroup element > or something like that. >

Re: [FlexJS] SVG and Charts

2014-09-24 Thread Peter Ent
I think using is the way to go. Probably need a GraphicsGroup element or something like that. --peter On 9/24/14 1:42 PM, "OmPrakash Muppirala" wrote: >I was thinking about more as well. I agree that for the use cases you >mention with regards to charts, the element would be ideal: > >https:

Re: [FlexJS] SVG and Charts

2014-09-24 Thread OmPrakash Muppirala
I was thinking about more as well. I agree that for the use cases you mention with regards to charts, the element would be ideal: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g It is the recommended way to contain a group of objects. One advantage over a nested is that you can ap

[FlexJS] SVG and Charts

2014-09-24 Thread Peter Ent
Hi, I had a discussion with Alex about the FlexJS chart package and how it makes use of SVG. For a quick background, the FlexJS chart package makes use of the core.graphics package created by Om which makes FlexJS charts much more easily cross-compiled from ActionScript to JavaScript. At the m