Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (bar != null) {
buffer.writeAll(['"bar":', jsonEncode(bar), ','], '');
}
if (barCombination != null) {
buffer
.writeAll(['"barCombination":', jsonEncode(barCombination), ','], '');
}
if (boxplot != null) {
buffer.writeAll(['"boxplot":', jsonEncode(boxplot), ','], '');
}
if (boxplotCombination != null) {
buffer.writeAll(
['"boxplotCombination":', jsonEncode(boxplotCombination), ','], '');
}
if (bubble != null) {
buffer.writeAll(['"bubble":', jsonEncode(bubble), ','], '');
}
if (bubbleCombination != null) {
buffer.writeAll(
['"bubbleCombination":', jsonEncode(bubbleCombination), ','], '');
}
if (column != null) {
buffer.writeAll(['"column":', jsonEncode(column), ','], '');
}
if (columnCombination != null) {
buffer.writeAll(
['"columnCombination":', jsonEncode(columnCombination), ','], '');
}
if (defaultTo != null) {
buffer.writeAll(['"default":', jsonEncode(defaultTo), ','], '');
}
if (defaultCombination != null) {
buffer.writeAll(
['"defaultCombination":', jsonEncode(defaultCombination), ','], '');
}
if (line != null) {
buffer.writeAll(['"line":', jsonEncode(line), ','], '');
}
if (lineCombination != null) {
buffer.writeAll(
['"lineCombination":', jsonEncode(lineCombination), ','], '');
}
if (map != null) {
buffer.writeAll(['"map":', jsonEncode(map), ','], '');
}
if (mapCombination != null) {
buffer
.writeAll(['"mapCombination":', jsonEncode(mapCombination), ','], '');
}
if (mapbubble != null) {
buffer.writeAll(['"mapbubble":', jsonEncode(mapbubble), ','], '');
}
if (mapbubbleCombination != null) {
buffer.writeAll(
['"mapbubbleCombination":', jsonEncode(mapbubbleCombination), ','],
'');
}
if (mapline != null) {
buffer.writeAll(['"mapline":', jsonEncode(mapline), ','], '');
}
if (maplineCombination != null) {
buffer.writeAll(
['"maplineCombination":', jsonEncode(maplineCombination), ','], '');
}
if (pie != null) {
buffer.writeAll(['"pie":', jsonEncode(pie), ','], '');
}
if (pieCombination != null) {
buffer
.writeAll(['"pieCombination":', jsonEncode(pieCombination), ','], '');
}
if (scatter != null) {
buffer.writeAll(['"scatter":', jsonEncode(scatter), ','], '');
}
if (scatterCombination != null) {
buffer.writeAll(
['"scatterCombination":', jsonEncode(scatterCombination), ','], '');
}
if (spline != null) {
buffer.writeAll(['"spline":', jsonEncode(spline), ','], '');
}
if (splineCombination != null) {
buffer.writeAll(
['"splineCombination":', jsonEncode(splineCombination), ','], '');
}
}