Re: FlexJS chart package now uses FlexJS core/graphics for the charts' graphics

2014-09-15 Thread Peter Ent
On 9/15/14 4:18 PM, "OmPrakash Muppirala" wrote: >On Mon, Sep 15, 2014 at 1:09 PM, Peter Ent wrote: > >> I need to retrace my steps. I should have looked to see how >> GraphicsContainer was implemented in JavaScript before proceeding. >> >> GraphicsContainer is a element, essentially, and to

Re: FlexJS chart package now uses FlexJS core/graphics for the charts' graphics

2014-09-15 Thread OmPrakash Muppirala
On Mon, Sep 15, 2014 at 1:09 PM, Peter Ent wrote: > I need to retrace my steps. I should have looked to see how > GraphicsContainer was implemented in JavaScript before proceeding. > > GraphicsContainer is a element, essentially, and to add , > , and so forth, you use functions on GraphicsContai

Re: FlexJS chart package now uses FlexJS core/graphics for the charts' graphics

2014-09-15 Thread OmPrakash Muppirala
On Mon, Sep 15, 2014 at 11:39 AM, Peter Ent wrote: > I've converted ChartDataGroup on the ActionScript side so that it uses a > GraphicsContainer. ChartDataGroup extends UIBase and so the elements being > added to it are its children. The modification inserts a GraphicsContainer > into ChartDataG

Re: FlexJS chart package now uses FlexJS core/graphics for the charts' graphics

2014-09-15 Thread Peter Ent
I need to retrace my steps. I should have looked to see how GraphicsContainer was implemented in JavaScript before proceeding. GraphicsContainer is a element, essentially, and to add , , and so forth, you use functions on GraphicsContainer to do that, rather than creating a core.graphics.Rect and

Re: FlexJS chart package now uses FlexJS core/graphics for the charts' graphics

2014-09-15 Thread Peter Ent
I've converted ChartDataGroup on the ActionScript side so that it uses a GraphicsContainer. ChartDataGroup extends UIBase and so the elements being added to it are its children. The modification inserts a GraphicsContainer into ChartDataGroup as its only child and then overrides addElement to place

Re: FlexJS chart package now uses FlexJS core/graphics for the charts' graphics

2014-09-12 Thread OmPrakash Muppirala
On Fri, Sep 12, 2014 at 12:40 PM, Peter Ent wrote: > I have modified the chart code so that the JS side does not have borders > and scrollbars. > I just tried it. Looks fantastic! I can't even tell the difference between the Flash version and the HTML5 version. The only difference I can see i

Re: FlexJS chart package now uses FlexJS core/graphics for the charts' graphics

2014-09-12 Thread Peter Ent
I have modified the chart code so that the JS side does not have borders and scrollbars. While looking at the HTML generated this morning, not only did I see the extra s and s, but I also saw that extra itemRenderers were being generated. I pushed code that addresses that as well. Now if we could

Re: FlexJS chart package now uses FlexJS core/graphics for the charts' graphics

2014-09-12 Thread Peter Ent
I keep meaning to look into the scrollbar/border issue so I'll make that a priority. When I started to make the charts to work on JS I created ChartDataGroup which is the parent of the itemRenderers. It created the parent element the renderers (which created just the SVG graphic element they

Re: FlexJS chart package now uses FlexJS core/graphics for the charts' graphics

2014-09-11 Thread OmPrakash Muppirala
Peter, I just tested out the ChartExample app. It looks awesome! Thanks for making this work end to end. Nice to see validation that using SVG lets us do great visualizations that work exactly same in Flash and HTML5! A couple of things I noticed: 1. I see unnecessary horizontal and vertica