toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (afterChartFormat != null) {
buffer.writeAll(
['"afterChartFormat":', jsonEncode(afterChartFormat), ','], '');
}
if (afterChartFormatter != null) {
buffer.writeAll(
['"afterChartFormatter":', afterChartFormatter?.toJSON(), ','], '');
}
if (axisRangeDateFormat != null) {
buffer.writeAll(
['"axisRangeDateFormat":', jsonEncode(axisRangeDateFormat), ','], '');
}
if (beforeChartFormat != null) {
buffer.writeAll(
['"beforeChartFormat":', jsonEncode(beforeChartFormat), ','], '');
}
if (beforeChartFormatter != null) {
buffer.writeAll(
['"beforeChartFormatter":', beforeChartFormatter?.toJSON(), ','], '');
}
if (onPlayAsSoundClick != null) {
buffer.writeAll(
['"onPlayAsSoundClick":', onPlayAsSoundClick?.toJSON(), ','], '');
}
if (onViewDataTableClick != null) {
buffer.writeAll(
['"onViewDataTableClick":', onViewDataTableClick?.toJSON(), ','], '');
}
}