You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/05/16 06:01:55 UTC

[GitHub] aharui commented on issue #221: Added few chart classes

aharui commented on issue #221: Added few chart classes
URL: https://github.com/apache/royale-asjs/pull/221#issuecomment-389404422
 
 
   Alina is correct that just about every class will need to extend something.  However, in this case PlotChart should extend ChartBase.  The way to determine this is:
   1) Look at the flex-sdk version of the class (in this case PlotChart.as)
   2) See if the base class (in this case CartesianChart) is listed in the API report.  If so, use that base class, if not, open the flex-sdk version of the base class (in this case CartesianChart.as)
   3) See if its base class (in this case ChartBase) is listed in the API report).  In this case, it is, so PlotChart should extend ChartBase.
   
   Loop through 2 & 3 until you find a base class in the report.  The loop for ui controls should end with UIComponent if not some subclass of UIComponent.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services