ChartTextArea constructor

ChartTextArea(
  1. 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();
}