On Wed, Jan 29, 2014 at 1:07 PM, Alex Harui <aha...@adobe.com> wrote:

> I just discovered that the BarChartExample is stale.  It isn't using the
> BarChart now checked into FlexJSJX.  I'm going to try to get it to compile
> and run in AS and then maybe Peter will have time to look at the JS side.
>
>
I did wonder how come the BarChartExample worked when the DataGridExample
was failing.  It makes sense now.
I will hold off on making any changes till I hear from you Alex.

Thanks,
Om


> -Alex
>
> On 1/29/14 11:59 AM, "Peter Ent" <p...@adobe.com> wrote:
>
> >Please feel free to make adjustments. I have to admit that the particulars
> >of CSS escape me sometimes.
> >
> >Thanks for your help and checking this out.
> >
> >Peter
> >
> >On 1/29/14 2:40 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote:
> >
> >>When I compile and run the BarChartExample, in the JS version, this is
> >>what
> >>I am seeing (swf works fine)
> >>
> >>http://jsfiddle.net/cvLqE/
> >>
> >>Once I tweak the output html like this
> >>
> >>http://jsfiddle.net/52uaL/2/
> >>
> >>i.e. remove the position: absolute style attribute of 'barChart' div, the
> >>bars show up, but are off a bit to the left and top.
> >>
> >>Before I continue to investigate this, Peter, is this a known issue that
> >>you are planning on fixing?  I am seeing this issue on both Firefox and
> >>Chrome on Windows.
> >>
> >>Thanks,
> >>Om
> >>
> >>
> >>On Tue, Dec 17, 2013 at 12:49 PM, Peter Ent <p...@adobe.com> wrote:
> >>
> >>> Hi,
> >>>
> >>> I've added a simple BarChart component to the ActionScript FlexJS SDK;
> >>>it
> >>> is modeled on the MX Charts package. I also included an example of
> >>>using
> >>> it, located in the FlexJS examples directory.
> >>>
> >>> I developed the BarChart in ActionScript but it can be cross-compiled
> >>>into
> >>> JavaScript and produces the same chart. The BarChartExample has the
> >>>sources
> >>> in the project so that you can compile it for either ActionScript or
> >>> JavaScript.  I've included a README  in that project with more
> >>>information.
> >>>
> >>> The intent, as with the DataGrid, is to develop more complex components
> >>>in
> >>> ActionScript and cross-compile them into JavaScript, saving a lot of
> >>>time.
> >>> While doing this project I had to hand-craft a JavaScript component to
> >>> display the bars since the ActionScript version relies on the Flash
> >>> Player's Shape class and that is not available in HTML. I think this
> >>>really
> >>> illustrates the potential of FlexJS where you can have a good set of
> >>> fundamental components that are environment specific (e.g., Button,
> >>>Label,
> >>> and TextInput) which must be crafted for all environments, but complex
> >>> components can be written in ActionScript and just cross-compiled into
> >>> JavaScript.
> >>>
> >>> My next task is add some simple axis labeling.
> >>>
> >>> Regards,
> >>> Peter Ent
> >>> Adobe Systems
> >>>
> >
>
>

Reply via email to