On Wed, Sep 10, 2014 at 7:45 AM, OmPrakash Muppirala
wrote:
>
> On Sep 10, 2014 7:07 AM, "Peter Ent" wrote:
> >
> > I made a small modification to FlexJSTest_SVG:
> >
> >
> > var path2:Path = new Path();
> > fill.color = 0x00FF00;
> >
The one major change I had to make (aside from removing the Z from my
LineChart path) was when the core/graphics element was added to its parent.
I was creating the element (e.g., Rect), setting its properties, and then
adding it as an element to the ChartDataGroup. This was fine on AS, but on
the
On Wed, Sep 10, 2014 at 1:21 PM, Peter Ent wrote:
> More details emerged: On the JS side, I had created ChartDataGroup to hold
> the chart graphics. Since this was going to be SVG, I had ChartDataGroup
> create an SVG element. All of the itemRenderers I created simply added SVG
> graphics to this
More details emerged: On the JS side, I had created ChartDataGroup to hold
the chart graphics. Since this was going to be SVG, I had ChartDataGroup
create an SVG element. All of the itemRenderers I created simply added SVG
graphics to this element. Switching to Om's core/graphics library
caused a
I have the latest code; I didn't install it into my Apache FlexJS
deployment. That last step always gets me.
I did more research on Path and discovered that the presence of the Z is
making the path closed (I thought a path string MUST end with a Z), so I
believe I can proceed with converting the c
On Sep 10, 2014 7:07 AM, "Peter Ent" wrote:
>
> I made a small modification to FlexJSTest_SVG:
>
>
> var path2:Path = new Path();
> fill.color = 0x00FF00;
> fill.alpha = 0.5;
> // path2.fill = fill;
>
On Sep 10, 2014 7:12 AM, "Peter Ent" wrote:
>
> That last message was for the ActionScript side. When I build the sample
> in JavaScript - with my change to remove the fill on path2, I get this
> runtime error:
>
> TypeError: this.get_fill(...) is null
> var color = Number(this.get_fill().get_colo
That last message was for the ActionScript side. When I build the sample
in JavaScript - with my change to remove the fill on path2, I get this
runtime error:
TypeError: this.get_fill(...) is null
var color = Number(this.get_fill().get_color()).toString(16);
Here is the code from GraphicShape.j
I made a small modification to FlexJSTest_SVG:
var path2:Path = new Path();
fill.color = 0x00FF00;
fill.alpha = 0.5;
// path2.fill = fill;
stroke.color = 0xFF00FF;
I ran FlexJSTest_SVG without any issues from Flash Builder. I will look to
see how each of these graphics elements are being used.
Thanks,
Peter Ent
Adobe Systems
On 9/9/14 8:47 PM, "OmPrakash Muppirala" wrote:
>On Tue, Sep 9, 2014 at 2:26 PM, Peter Ent wrote:
>
>> I tried that and it did not
On Tue, Sep 9, 2014 at 2:26 PM, Peter Ent wrote:
> I tried that and it did not work (because the fill and stroke were not
> set), so I changed my itemRenderer to create the Rect at the point of use:
>
> protected function drawBar():void
> {
> if (this.width > 0 && this.height >
I tried that and it did not work (because the fill and stroke were not
set), so I changed my itemRenderer to create the Rect at the point of use:
protected function drawBar():void
{
if (this.width > 0 && this.height > 0)
{
if (filledRect == null) filledRect = new Rect();
Ah, I see what's happening. My code expects the drawXXX() [drawRect,
drawPath, etc.] to be called before adding it as an element to the parent.
Try switching
this.filledRect = new org.apache.flex.core.graphics.Rect();
this.addElement(this.filledRect);
to
this.filledRect = new org.apache.flex.c
On Tue, Sep 9, 2014 at 1:15 PM, Peter Ent wrote:
> I created a temporary item renderer to see how the x-compile would work.
> Here is the code in my temporary item renderer that creates the Rect:
>
> org.apache.flex.charts.supportClasses.TempBoxRenderer.prototype.set_data =
> function(value) {
>
I created a temporary item renderer to see how the x-compile would work.
Here is the code in my temporary item renderer that creates the Rect:
org.apache.flex.charts.supportClasses.TempBoxRenderer.prototype.set_data =
function(value) {
org.apache.flex.charts.supportClasses.TempBoxRenderer.base
On Tue, Sep 9, 2014 at 8:19 AM, Peter Ent wrote:
> Have run into a problem on the JS side. Firebox is telling me that in this
> code from GraphicShape.js:
>
> org.apache.flex.core.graphics.GraphicShape.prototype.addedToParent =
> function() {
> var bbox = this.element.getBBox();
> this.resize
16 matches
Mail list logo