ChartTextArea constructor
ChartTextArea(
- Object parent
Create an instances of ChartTextArea class.
Implementation
ChartTextArea(Object parent) {
_parent = parent;
if (_parent is Chart) {
_chart = _parent as Chart;
} else if (_parent is ChartCategoryAxis) {
_chart = (_parent as ChartCategoryAxis).chart;
} else if (_parent is ChartValueAxis) {
_chart = (_parent as ChartValueAxis).chart;
} else if (_parent is ChartSerie) {
_chart = (_parent as ChartSerie).chart;
}
_createFont();
}