toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (describeSingleSeries != null) {
buffer
.writeAll(['"describeSingleSeries":', describeSingleSeries, ','], '');
}
if (descriptionFormat != null) {
buffer.writeAll(
['"descriptionFormat":', jsonEncode(descriptionFormat), ','], '');
}
if (descriptionFormatter != null) {
buffer.writeAll(
['"descriptionFormatter":', descriptionFormatter?.toJSON(), ','], '');
}
if (pointDescriptionEnabledThreshold != null) {
buffer.writeAll([
'"pointDescriptionEnabledThreshold":',
pointDescriptionEnabledThreshold,
','
], '');
}
}