Hi,
Suppose you have a ColumnChart with some ColumnSeries defined in MXML
like this:
<mx:ColumnChart>
<mx:series>
<mx:ColumnSeries xField="@cl" yField="@cmu">
<mx:fill>
<mx:SolidColor color="#e48701"/>
</mx:fill>
</mx:ColumnSeries>
</mx:series>
</mx:ColumnChart>
This works perfectly fine. Now I want to change the ColumSeries to my
own MXML-component based on ColumSeries, lets call it MyColumSeries.
The new ColumnChart becomes like this:
<mx:ColumnChart>
<mx:series>
<bla:MyColumnSeries xField="@cl" yField="@cmu">
<mx:fill>
<mx:SolidColor color="#e48701"/>
</mx:fill>
</bla:MyColumnSeries>
</mx:series>
</mx:ColumnChart>
Now I get the following compile error:
Could not resolve <mx:fill> to a component implementation.
Now I was under the impression that when you define an MXML component
it publicly derives from it's base-component, and therefor it should
work just like it's base-component plus anything you add/change.
Why do I get the error then?
Cheers,
Andrej