flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ent <p...@adobe.com>
Subject Re: [FlexJS] BarChart component added - render issue
Date Wed, 29 Jan 2014 19:59:54 GMT
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" <bigosmallm@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 <pent@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
>>


Mime
View raw message