New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added few chart classes #221
Conversation
PieSeriesItem.as, PieSeries.as & PlotSeries.as Added
I don't see a need to emulate CartesianChart ,IAxis,ModuleManagerGlobals. |
CartesianChart removed but IAxis is required as argument for horizontalAxis method so it is retained. Rest all files are updated as per comments |
Like setStyle & width are properties/methods required in PlotChart and these are extended from UIComponent. IMO PlotChart should extend UIComponent. Again this is just an example. @aharui please comment on it further. |
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:
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. |
Updated AreaChart.as, PlotChart.as, PlotSeries.as, PieSeries.as & PieSeriesItem.as files as instructed |
In PlotChart dataTipFunction is a method that is extended from ChartBase so this method should be added to ChartBase . Again this is just an example. We need to compile our D-Biz Application for that every property or method that is used by our D-Biz Application should be added to emulated components. |
Do not copy ChartBase from flex-sdk & make changes from beginning . |
Moved references from MXRoyaleClasses.as to mx-manifest.xml
Moved references from MXRoyaleClasses.as to mx-manifest.xml
Moved references from MXRoyaleClasses.as to mx-manifest.xml |
mx.charts.chartClasses.CartesianChart
mx.charts.chartClasses.IAxis
mx.charts.PlotChart
mx.charts.series.PieSeries
mx.charts.series.PlotSeries
mx.charts.series.items.PieSeriesItem
mx.charts.AreaChart