io.deephaven.plot.datasets.multiseries.MultiXYSeries Maven / Gradle / Ivy
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.plot.datasets.multiseries;
import io.deephaven.plot.AxesImpl;
import io.deephaven.plot.datasets.DynamicSeriesNamer;
import io.deephaven.plot.datasets.xy.XYDataSeriesInternal;
import io.deephaven.plot.datasets.xy.XYDataSeriesTableArray;
import io.deephaven.plot.util.ArgumentValidations;
import io.deephaven.plot.util.tables.TableBackedPartitionedTableHandle;
import io.deephaven.plot.util.tables.TableHandle;
import io.deephaven.engine.table.impl.BaseTable;
/**
* A {@link AbstractMultiSeries} collection that holds and generates {@link XYDataSeriesInternal}.
*/
public class MultiXYSeries extends AbstractPartitionedTableHandleMultiSeries {
private static final long serialVersionUID = 1274883777622079921L;
private final String xCol;
private final String yCol;
/**
* Creates a MultiXYSeries instance.
*
* @param axes axes on which this {@link MultiSeries} will be plotted
* @param id data series id
* @param name series name
* @param partitionedTableHandle table data
* @param xCol column in {@code t} that holds the x-variable data
* @param yCol column in {@code t} that holds the y-variable data
* @param byColumns column(s) in {@code t} that holds the grouping data
*/
public MultiXYSeries(final AxesImpl axes, final int id, final Comparable name,
final TableBackedPartitionedTableHandle partitionedTableHandle, final String xCol, final String yCol,
final String[] byColumns) {
super(axes, id, name, partitionedTableHandle, xCol, yCol, byColumns);
ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), xCol, getPlotInfo());
ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), yCol, getPlotInfo());
this.xCol = xCol;
this.yCol = yCol;
}
/**
* Creates a copy of a series using a different Axes.
*
* @param series series to copy.
* @param axes new axes to use.
*/
private MultiXYSeries(final MultiXYSeries series, final AxesImpl axes) {
super(series, axes);
this.xCol = series.xCol;
this.yCol = series.yCol;
this.lineColorSeriesNameToStringMap = series.lineColorSeriesNameToStringMap;
this.pointsVisibleSeriesNameToBooleanMap = series.pointsVisibleSeriesNameToBooleanMap;
}
@Override
public XYDataSeriesInternal createSeries(String seriesName, final BaseTable t,
final DynamicSeriesNamer seriesNamer) {
seriesName = makeSeriesName(seriesName, seriesNamer);
final TableHandle tableHandle = new TableHandle(t, xCol, yCol);
addTableHandle(tableHandle);
return new XYDataSeriesTableArray(axes(), -1, seriesName, tableHandle, xCol, yCol);
}
public String getXCol() {
return xCol;
}
public String getYCol() {
return yCol;
}
////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND //////////////////////////////
////////////////////////////// TO REGENERATE RUN GenerateMultiSeries //////////////////////////////
////////////////////////////// AND THEN RUN GenerateFigureImmutable //////////////////////////////
// @formatter:off
@Override public void initializeSeries(XYDataSeriesInternal series) {
$$initializeSeries$$(series);
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault errorBarColorSeriesNameToStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault errorBarColorSeriesNameToStringMap() {
return errorBarColorSeriesNameToStringMap;
}
@Override public MultiXYSeries errorBarColor(final java.lang.String errorBarColor, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
errorBarColorSeriesNameToStringMap.setDefault(errorBarColor);
} else {
errorBarColorSeriesNameToStringMap.put(namingFunction.apply(multiSeriesKey), errorBarColor);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault errorBarColorSeriesNameTointMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault errorBarColorSeriesNameTointMap() {
return errorBarColorSeriesNameTointMap;
}
@Override public MultiXYSeries errorBarColor(final int errorBarColor, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
errorBarColorSeriesNameTointMap.setDefault(errorBarColor);
} else {
errorBarColorSeriesNameTointMap.put(namingFunction.apply(multiSeriesKey), errorBarColor);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault errorBarColorSeriesNameToPaintMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault errorBarColorSeriesNameToPaintMap() {
return errorBarColorSeriesNameToPaintMap;
}
@Override public MultiXYSeries errorBarColor(final io.deephaven.gui.color.Paint errorBarColor, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
errorBarColorSeriesNameToPaintMap.setDefault(errorBarColor);
} else {
errorBarColorSeriesNameToPaintMap.put(namingFunction.apply(multiSeriesKey), errorBarColor);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault gradientVisibleSeriesNameTobooleanMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault gradientVisibleSeriesNameTobooleanMap() {
return gradientVisibleSeriesNameTobooleanMap;
}
@Override public MultiXYSeries gradientVisible(final boolean gradientVisible, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
gradientVisibleSeriesNameTobooleanMap.setDefault(gradientVisible);
} else {
gradientVisibleSeriesNameTobooleanMap.put(namingFunction.apply(multiSeriesKey), gradientVisible);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault lineColorSeriesNameToStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault lineColorSeriesNameToStringMap() {
return lineColorSeriesNameToStringMap;
}
@Override public MultiXYSeries lineColor(final java.lang.String color, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
lineColorSeriesNameToStringMap.setDefault(color);
} else {
lineColorSeriesNameToStringMap.put(namingFunction.apply(multiSeriesKey), color);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault lineColorSeriesNameTointMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault lineColorSeriesNameTointMap() {
return lineColorSeriesNameTointMap;
}
@Override public MultiXYSeries lineColor(final int color, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
lineColorSeriesNameTointMap.setDefault(color);
} else {
lineColorSeriesNameTointMap.put(namingFunction.apply(multiSeriesKey), color);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault lineColorSeriesNameToPaintMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault lineColorSeriesNameToPaintMap() {
return lineColorSeriesNameToPaintMap;
}
@Override public MultiXYSeries lineColor(final io.deephaven.gui.color.Paint color, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
lineColorSeriesNameToPaintMap.setDefault(color);
} else {
lineColorSeriesNameToPaintMap.put(namingFunction.apply(multiSeriesKey), color);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault lineStyleSeriesNameToLineStyleMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault lineStyleSeriesNameToLineStyleMap() {
return lineStyleSeriesNameToLineStyleMap;
}
@Override public MultiXYSeries lineStyle(final io.deephaven.plot.LineStyle lineStyle, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
lineStyleSeriesNameToLineStyleMap.setDefault(lineStyle);
} else {
lineStyleSeriesNameToLineStyleMap.put(namingFunction.apply(multiSeriesKey), lineStyle);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault linesVisibleSeriesNameToBooleanMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault linesVisibleSeriesNameToBooleanMap() {
return linesVisibleSeriesNameToBooleanMap;
}
@Override public MultiXYSeries linesVisible(final java.lang.Boolean visible, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
linesVisibleSeriesNameToBooleanMap.setDefault(visible);
} else {
linesVisibleSeriesNameToBooleanMap.put(namingFunction.apply(multiSeriesKey), visible);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameTointArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameTointArrayMap() {
return pointColorSeriesNameTointArrayMap;
}
@Override public MultiXYSeries pointColor(final int[] pointColors, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameTointArrayMap.setDefault(pointColors);
} else {
pointColorSeriesNameTointArrayMap.put(namingFunction.apply(multiSeriesKey), pointColors);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToPaintArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToPaintArrayMap() {
return pointColorSeriesNameToPaintArrayMap;
}
@Override public MultiXYSeries pointColor(final io.deephaven.gui.color.Paint[] pointColor, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameToPaintArrayMap.setDefault(pointColor);
} else {
pointColorSeriesNameToPaintArrayMap.put(namingFunction.apply(multiSeriesKey), pointColor);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToIntegerArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToIntegerArrayMap() {
return pointColorSeriesNameToIntegerArrayMap;
}
@Override public MultiXYSeries pointColor(final java.lang.Integer[] pointColors, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameToIntegerArrayMap.setDefault(pointColors);
} else {
pointColorSeriesNameToIntegerArrayMap.put(namingFunction.apply(multiSeriesKey), pointColors);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToStringArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToStringArrayMap() {
return pointColorSeriesNameToStringArrayMap;
}
@Override public MultiXYSeries pointColor(final java.lang.String[] pointColors, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameToStringArrayMap.setDefault(pointColors);
} else {
pointColorSeriesNameToStringArrayMap.put(namingFunction.apply(multiSeriesKey), pointColors);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToStringMap() {
return pointColorSeriesNameToStringMap;
}
@Override public MultiXYSeries pointColor(final java.lang.String pointColor, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameToStringMap.setDefault(pointColor);
} else {
pointColorSeriesNameToStringMap.put(namingFunction.apply(multiSeriesKey), pointColor);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameTointMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameTointMap() {
return pointColorSeriesNameTointMap;
}
@Override public MultiXYSeries pointColor(final int pointColor, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameTointMap.setDefault(pointColor);
} else {
pointColorSeriesNameTointMap.put(namingFunction.apply(multiSeriesKey), pointColor);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToPaintMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToPaintMap() {
return pointColorSeriesNameToPaintMap;
}
@Override public MultiXYSeries pointColor(final io.deephaven.gui.color.Paint pointColor, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameToPaintMap.setDefault(pointColor);
} else {
pointColorSeriesNameToPaintMap.put(namingFunction.apply(multiSeriesKey), pointColor);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToIndexableDataMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToIndexableDataMap() {
return pointColorSeriesNameToIndexableDataMap;
}
@Override public MultiXYSeries pointColor(final io.deephaven.plot.datasets.data.IndexableData pointColor, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameToIndexableDataMap.setDefault(pointColor);
} else {
pointColorSeriesNameToIndexableDataMap.put(namingFunction.apply(multiSeriesKey), pointColor);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToTableStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToTableStringMap() {
return pointColorSeriesNameToTableStringMap;
}
@Override public MultiXYSeries pointColor(final io.deephaven.engine.table.Table t, final java.lang.String pointColors, final Object... multiSeriesKey) {
final io.deephaven.plot.util.tables.TableHandle tHandle = new io.deephaven.plot.util.tables.TableHandle(t, pointColors);
addTableHandle(tHandle);
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameToTableStringMap.setDefault(new Object[]{tHandle, pointColors});
} else {
pointColorSeriesNameToTableStringMap.put(namingFunction.apply(multiSeriesKey),
new Object[]{ tHandle, pointColors});
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToSelectableDataSetStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorSeriesNameToSelectableDataSetStringMap() {
return pointColorSeriesNameToSelectableDataSetStringMap;
}
@Override public MultiXYSeries pointColor(final io.deephaven.plot.filters.SelectableDataSet sds, final java.lang.String pointColors, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorSeriesNameToSelectableDataSetStringMap.setDefault(new Object[]{sds, pointColors});
} else {
pointColorSeriesNameToSelectableDataSetStringMap.put(namingFunction.apply(multiSeriesKey),
new Object[]{ sds, pointColors});
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorIntegerSeriesNameToIndexableDataMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointColorIntegerSeriesNameToIndexableDataMap() {
return pointColorIntegerSeriesNameToIndexableDataMap;
}
@Override public MultiXYSeries pointColorInteger(final io.deephaven.plot.datasets.data.IndexableData colors, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointColorIntegerSeriesNameToIndexableDataMap.setDefault(colors);
} else {
pointColorIntegerSeriesNameToIndexableDataMap.put(namingFunction.apply(multiSeriesKey), colors);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToObjectArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToObjectArrayMap() {
return pointLabelSeriesNameToObjectArrayMap;
}
@Override public MultiXYSeries pointLabel(final java.lang.Object[] pointLabels, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointLabelSeriesNameToObjectArrayMap.setDefault(new Object[]{pointLabels});
} else {
pointLabelSeriesNameToObjectArrayMap.put(namingFunction.apply(multiSeriesKey), new Object[]{pointLabels});
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToObjectMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToObjectMap() {
return pointLabelSeriesNameToObjectMap;
}
@Override public MultiXYSeries pointLabel(final java.lang.Object pointLabel, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointLabelSeriesNameToObjectMap.setDefault(pointLabel);
} else {
pointLabelSeriesNameToObjectMap.put(namingFunction.apply(multiSeriesKey), pointLabel);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToIndexableDataMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToIndexableDataMap() {
return pointLabelSeriesNameToIndexableDataMap;
}
@Override public MultiXYSeries pointLabel(final io.deephaven.plot.datasets.data.IndexableData> pointLabels, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointLabelSeriesNameToIndexableDataMap.setDefault(pointLabels);
} else {
pointLabelSeriesNameToIndexableDataMap.put(namingFunction.apply(multiSeriesKey), pointLabels);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToTableStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToTableStringMap() {
return pointLabelSeriesNameToTableStringMap;
}
@Override public MultiXYSeries pointLabel(final io.deephaven.engine.table.Table t, final java.lang.String pointLabel, final Object... multiSeriesKey) {
final io.deephaven.plot.util.tables.TableHandle tHandle = new io.deephaven.plot.util.tables.TableHandle(t, pointLabel);
addTableHandle(tHandle);
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointLabelSeriesNameToTableStringMap.setDefault(new Object[]{tHandle, pointLabel});
} else {
pointLabelSeriesNameToTableStringMap.put(namingFunction.apply(multiSeriesKey),
new Object[]{ tHandle, pointLabel});
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToSelectableDataSetStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelSeriesNameToSelectableDataSetStringMap() {
return pointLabelSeriesNameToSelectableDataSetStringMap;
}
@Override public MultiXYSeries pointLabel(final io.deephaven.plot.filters.SelectableDataSet sds, final java.lang.String pointLabel, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointLabelSeriesNameToSelectableDataSetStringMap.setDefault(new Object[]{sds, pointLabel});
} else {
pointLabelSeriesNameToSelectableDataSetStringMap.put(namingFunction.apply(multiSeriesKey),
new Object[]{ sds, pointLabel});
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelFormatSeriesNameToStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointLabelFormatSeriesNameToStringMap() {
return pointLabelFormatSeriesNameToStringMap;
}
@Override public MultiXYSeries pointLabelFormat(final java.lang.String pointLabelFormat, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointLabelFormatSeriesNameToStringMap.setDefault(pointLabelFormat);
} else {
pointLabelFormatSeriesNameToStringMap.put(namingFunction.apply(multiSeriesKey), pointLabelFormat);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToShapeArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToShapeArrayMap() {
return pointShapeSeriesNameToShapeArrayMap;
}
@Override public MultiXYSeries pointShape(final io.deephaven.gui.shape.Shape[] pointShapes, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointShapeSeriesNameToShapeArrayMap.setDefault(pointShapes);
} else {
pointShapeSeriesNameToShapeArrayMap.put(namingFunction.apply(multiSeriesKey), pointShapes);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToStringArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToStringArrayMap() {
return pointShapeSeriesNameToStringArrayMap;
}
@Override public MultiXYSeries pointShape(final java.lang.String[] pointShapes, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointShapeSeriesNameToStringArrayMap.setDefault(pointShapes);
} else {
pointShapeSeriesNameToStringArrayMap.put(namingFunction.apply(multiSeriesKey), pointShapes);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToStringMap() {
return pointShapeSeriesNameToStringMap;
}
@Override public MultiXYSeries pointShape(final java.lang.String pointShape, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointShapeSeriesNameToStringMap.setDefault(pointShape);
} else {
pointShapeSeriesNameToStringMap.put(namingFunction.apply(multiSeriesKey), pointShape);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToShapeMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToShapeMap() {
return pointShapeSeriesNameToShapeMap;
}
@Override public MultiXYSeries pointShape(final io.deephaven.gui.shape.Shape pointShape, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointShapeSeriesNameToShapeMap.setDefault(pointShape);
} else {
pointShapeSeriesNameToShapeMap.put(namingFunction.apply(multiSeriesKey), pointShape);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToIndexableDataMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToIndexableDataMap() {
return pointShapeSeriesNameToIndexableDataMap;
}
@Override public MultiXYSeries pointShape(final io.deephaven.plot.datasets.data.IndexableData pointShapes, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointShapeSeriesNameToIndexableDataMap.setDefault(pointShapes);
} else {
pointShapeSeriesNameToIndexableDataMap.put(namingFunction.apply(multiSeriesKey), pointShapes);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToTableStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToTableStringMap() {
return pointShapeSeriesNameToTableStringMap;
}
@Override public MultiXYSeries pointShape(final io.deephaven.engine.table.Table t, final java.lang.String pointShape, final Object... multiSeriesKey) {
final io.deephaven.plot.util.tables.TableHandle tHandle = new io.deephaven.plot.util.tables.TableHandle(t, pointShape);
addTableHandle(tHandle);
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointShapeSeriesNameToTableStringMap.setDefault(new Object[]{tHandle, pointShape});
} else {
pointShapeSeriesNameToTableStringMap.put(namingFunction.apply(multiSeriesKey),
new Object[]{ tHandle, pointShape});
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToSelectableDataSetStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointShapeSeriesNameToSelectableDataSetStringMap() {
return pointShapeSeriesNameToSelectableDataSetStringMap;
}
@Override public MultiXYSeries pointShape(final io.deephaven.plot.filters.SelectableDataSet sds, final java.lang.String pointShape, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointShapeSeriesNameToSelectableDataSetStringMap.setDefault(new Object[]{sds, pointShape});
} else {
pointShapeSeriesNameToSelectableDataSetStringMap.put(namingFunction.apply(multiSeriesKey),
new Object[]{ sds, pointShape});
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToTArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToTArrayMap() {
return pointSizeSeriesNameToTArrayMap;
}
@Override public MultiXYSeries pointSize(final T[] pointSizes, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointSizeSeriesNameToTArrayMap.setDefault(pointSizes);
} else {
pointSizeSeriesNameToTArrayMap.put(namingFunction.apply(multiSeriesKey), pointSizes);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameTodoubleArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameTodoubleArrayMap() {
return pointSizeSeriesNameTodoubleArrayMap;
}
@Override public MultiXYSeries pointSize(final double[] pointSizes, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointSizeSeriesNameTodoubleArrayMap.setDefault(pointSizes);
} else {
pointSizeSeriesNameTodoubleArrayMap.put(namingFunction.apply(multiSeriesKey), pointSizes);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameTointArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameTointArrayMap() {
return pointSizeSeriesNameTointArrayMap;
}
@Override public MultiXYSeries pointSize(final int[] pointSizes, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointSizeSeriesNameTointArrayMap.setDefault(pointSizes);
} else {
pointSizeSeriesNameTointArrayMap.put(namingFunction.apply(multiSeriesKey), pointSizes);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameTolongArrayMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameTolongArrayMap() {
return pointSizeSeriesNameTolongArrayMap;
}
@Override public MultiXYSeries pointSize(final long[] pointSizes, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointSizeSeriesNameTolongArrayMap.setDefault(pointSizes);
} else {
pointSizeSeriesNameTolongArrayMap.put(namingFunction.apply(multiSeriesKey), pointSizes);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToNumberMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToNumberMap() {
return pointSizeSeriesNameToNumberMap;
}
@Override public MultiXYSeries pointSize(final java.lang.Number pointSize, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointSizeSeriesNameToNumberMap.setDefault(pointSize);
} else {
pointSizeSeriesNameToNumberMap.put(namingFunction.apply(multiSeriesKey), pointSize);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToIndexableDataMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToIndexableDataMap() {
return pointSizeSeriesNameToIndexableDataMap;
}
@Override public MultiXYSeries pointSize(final io.deephaven.plot.datasets.data.IndexableData pointSizes, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointSizeSeriesNameToIndexableDataMap.setDefault(pointSizes);
} else {
pointSizeSeriesNameToIndexableDataMap.put(namingFunction.apply(multiSeriesKey), pointSizes);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToTableStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToTableStringMap() {
return pointSizeSeriesNameToTableStringMap;
}
@Override public MultiXYSeries pointSize(final io.deephaven.engine.table.Table t, final java.lang.String pointSizes, final Object... multiSeriesKey) {
final io.deephaven.plot.util.tables.TableHandle tHandle = new io.deephaven.plot.util.tables.TableHandle(t, pointSizes);
addTableHandle(tHandle);
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointSizeSeriesNameToTableStringMap.setDefault(new Object[]{tHandle, pointSizes});
} else {
pointSizeSeriesNameToTableStringMap.put(namingFunction.apply(multiSeriesKey),
new Object[]{ tHandle, pointSizes});
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToSelectableDataSetStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointSizeSeriesNameToSelectableDataSetStringMap() {
return pointSizeSeriesNameToSelectableDataSetStringMap;
}
@Override public MultiXYSeries pointSize(final io.deephaven.plot.filters.SelectableDataSet sds, final java.lang.String pointSize, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointSizeSeriesNameToSelectableDataSetStringMap.setDefault(new Object[]{sds, pointSize});
} else {
pointSizeSeriesNameToSelectableDataSetStringMap.put(namingFunction.apply(multiSeriesKey),
new Object[]{ sds, pointSize});
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointsVisibleSeriesNameToBooleanMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault pointsVisibleSeriesNameToBooleanMap() {
return pointsVisibleSeriesNameToBooleanMap;
}
@Override public MultiXYSeries pointsVisible(final java.lang.Boolean visible, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
pointsVisibleSeriesNameToBooleanMap.setDefault(visible);
} else {
pointsVisibleSeriesNameToBooleanMap.put(namingFunction.apply(multiSeriesKey), visible);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault seriesColorSeriesNameToStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault seriesColorSeriesNameToStringMap() {
return seriesColorSeriesNameToStringMap;
}
@Override public MultiXYSeries seriesColor(final java.lang.String color, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
seriesColorSeriesNameToStringMap.setDefault(color);
} else {
seriesColorSeriesNameToStringMap.put(namingFunction.apply(multiSeriesKey), color);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault seriesColorSeriesNameTointMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault seriesColorSeriesNameTointMap() {
return seriesColorSeriesNameTointMap;
}
@Override public MultiXYSeries seriesColor(final int color, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
seriesColorSeriesNameTointMap.setDefault(color);
} else {
seriesColorSeriesNameTointMap.put(namingFunction.apply(multiSeriesKey), color);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault seriesColorSeriesNameToPaintMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault seriesColorSeriesNameToPaintMap() {
return seriesColorSeriesNameToPaintMap;
}
@Override public MultiXYSeries seriesColor(final io.deephaven.gui.color.Paint color, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
seriesColorSeriesNameToPaintMap.setDefault(color);
} else {
seriesColorSeriesNameToPaintMap.put(namingFunction.apply(multiSeriesKey), color);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault toolTipPatternSeriesNameToStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault toolTipPatternSeriesNameToStringMap() {
return toolTipPatternSeriesNameToStringMap;
}
@Override public MultiXYSeries toolTipPattern(final java.lang.String toolTipPattern, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
toolTipPatternSeriesNameToStringMap.setDefault(toolTipPattern);
} else {
toolTipPatternSeriesNameToStringMap.put(namingFunction.apply(multiSeriesKey), toolTipPattern);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault xToolTipPatternSeriesNameToStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault xToolTipPatternSeriesNameToStringMap() {
return xToolTipPatternSeriesNameToStringMap;
}
@Override public MultiXYSeries xToolTipPattern(final java.lang.String xToolTipPattern, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
xToolTipPatternSeriesNameToStringMap.setDefault(xToolTipPattern);
} else {
xToolTipPatternSeriesNameToStringMap.put(namingFunction.apply(multiSeriesKey), xToolTipPattern);
}
return this;
}
private io.deephaven.plot.util.PlotUtils.HashMapWithDefault yToolTipPatternSeriesNameToStringMap = new io.deephaven.plot.util.PlotUtils.HashMapWithDefault<>();
public io.deephaven.plot.util.PlotUtils.HashMapWithDefault yToolTipPatternSeriesNameToStringMap() {
return yToolTipPatternSeriesNameToStringMap;
}
@Override public MultiXYSeries yToolTipPattern(final java.lang.String yToolTipPattern, final Object... multiSeriesKey) {
if(multiSeriesKey == null || multiSeriesKey.length == 0) {
yToolTipPatternSeriesNameToStringMap.setDefault(yToolTipPattern);
} else {
yToolTipPatternSeriesNameToStringMap.put(namingFunction.apply(multiSeriesKey), yToolTipPattern);
}
return this;
}
@SuppressWarnings("unchecked")
private void $$initializeSeries$$(XYDataSeriesInternal series) {
String name = series.name().toString();
java.util.function.Consumer consumer0 = series::pointLabel;
pointLabelSeriesNameToObjectArrayMap.runIfKeyExistsCast(consumer0, name);
java.util.function.Consumer consumer1 = series::pointLabelFormat;
pointLabelFormatSeriesNameToStringMap.runIfKeyExistsCast(consumer1, name);
java.util.function.Consumer consumer2 = series::pointShape;
pointShapeSeriesNameToIndexableDataMap.runIfKeyExistsCast(consumer2, name);
java.util.function.Consumer consumer3 = series::pointShape;
pointShapeSeriesNameToStringArrayMap.runIfKeyExistsCast(consumer3, name);
java.lang.Object[] objectArray = pointColorSeriesNameToTableStringMap.get(name);
if(objectArray != null) {series.pointColor(((io.deephaven.plot.util.tables.TableHandle) objectArray[0]).getTable(), (java.lang.String) objectArray[1]);}
objectArray = pointSizeSeriesNameToSelectableDataSetStringMap.get(name);
if(objectArray != null) {series.pointSize((io.deephaven.plot.filters.SelectableDataSet) objectArray[0], (java.lang.String) objectArray[1]);}
java.util.function.Consumer consumer4 = series::pointsVisible;
pointsVisibleSeriesNameToBooleanMap.runIfKeyExistsCast(consumer4, name);
java.util.function.Consumer consumer5 = series::pointColor;
pointColorSeriesNameToIndexableDataMap.runIfKeyExistsCast(consumer5, name);
objectArray = pointShapeSeriesNameToSelectableDataSetStringMap.get(name);
if(objectArray != null) {series.pointShape((io.deephaven.plot.filters.SelectableDataSet) objectArray[0], (java.lang.String) objectArray[1]);}
objectArray = pointLabelSeriesNameToTableStringMap.get(name);
if(objectArray != null) {series.pointLabel(((io.deephaven.plot.util.tables.TableHandle) objectArray[0]).getTable(), (java.lang.String) objectArray[1]);}
java.util.function.Consumer consumer6 = series::pointColor;
pointColorSeriesNameToStringMap.runIfKeyExistsCast(consumer6, name);
java.util.function.Consumer consumer7 = series::pointShape;
pointShapeSeriesNameToShapeMap.runIfKeyExistsCast(consumer7, name);
java.util.function.Consumer consumer8 = series::lineColor;
lineColorSeriesNameTointMap.runIfKeyExistsCast(consumer8, name);
java.util.function.Consumer consumer9 = series::linesVisible;
linesVisibleSeriesNameToBooleanMap.runIfKeyExistsCast(consumer9, name);
objectArray = pointLabelSeriesNameToSelectableDataSetStringMap.get(name);
if(objectArray != null) {series.pointLabel((io.deephaven.plot.filters.SelectableDataSet) objectArray[0], (java.lang.String) objectArray[1]);}
java.util.function.Consumer consumer10 = series::lineColor;
lineColorSeriesNameToStringMap.runIfKeyExistsCast(consumer10, name);
java.util.function.Consumer consumer11 = series::seriesColor;
seriesColorSeriesNameToPaintMap.runIfKeyExistsCast(consumer11, name);
java.util.function.Consumer consumer12 = series::pointSize;
pointSizeSeriesNameTolongArrayMap.runIfKeyExistsCast(consumer12, name);
java.util.function.Consumer consumer13 = series::pointShape;
pointShapeSeriesNameToShapeArrayMap.runIfKeyExistsCast(consumer13, name);
java.util.function.Consumer consumer14 = series::yToolTipPattern;
yToolTipPatternSeriesNameToStringMap.runIfKeyExistsCast(consumer14, name);
java.util.function.Consumer consumer15 = series::seriesColor;
seriesColorSeriesNameTointMap.runIfKeyExistsCast(consumer15, name);
java.util.function.Consumer consumer16 = series::pointColor;
pointColorSeriesNameTointArrayMap.runIfKeyExistsCast(consumer16, name);
java.util.function.Consumer consumer17 = series::pointLabel;
pointLabelSeriesNameToObjectMap.runIfKeyExistsCast(consumer17, name);
java.util.function.Consumer consumer18 = series::errorBarColor;
errorBarColorSeriesNameToPaintMap.runIfKeyExistsCast(consumer18, name);
objectArray = pointColorSeriesNameToSelectableDataSetStringMap.get(name);
if(objectArray != null) {series.pointColor((io.deephaven.plot.filters.SelectableDataSet) objectArray[0], (java.lang.String) objectArray[1]);}
java.util.function.Consumer consumer19 = series::lineColor;
lineColorSeriesNameToPaintMap.runIfKeyExistsCast(consumer19, name);
java.util.function.Consumer consumer20 = series::seriesColor;
seriesColorSeriesNameToStringMap.runIfKeyExistsCast(consumer20, name);
java.util.function.Consumer consumer21 = series::pointColor;
pointColorSeriesNameToIntegerArrayMap.runIfKeyExistsCast(consumer21, name);
java.util.function.Consumer consumer22 = series::lineStyle;
lineStyleSeriesNameToLineStyleMap.runIfKeyExistsCast(consumer22, name);
java.util.function.Consumer consumer23 = series::pointSize;
pointSizeSeriesNameTodoubleArrayMap.runIfKeyExistsCast(consumer23, name);
java.util.function.Consumer consumer24 = series::gradientVisible;
gradientVisibleSeriesNameTobooleanMap.runIfKeyExistsCast(consumer24, name);
java.util.function.Consumer consumer25 = series::pointColor;
pointColorSeriesNameToPaintMap.runIfKeyExistsCast(consumer25, name);
java.util.function.Consumer consumer26 = series::pointColorInteger;
pointColorIntegerSeriesNameToIndexableDataMap.runIfKeyExistsCast(consumer26, name);
java.util.function.Consumer consumer27 = series::pointSize;
pointSizeSeriesNameTointArrayMap.runIfKeyExistsCast(consumer27, name);
java.util.function.Consumer consumer28 = series::pointColor;
pointColorSeriesNameToStringArrayMap.runIfKeyExistsCast(consumer28, name);
java.util.function.Consumer consumer29 = series::pointSize;
pointSizeSeriesNameToTArrayMap.runIfKeyExistsCast(consumer29, name);
java.util.function.Consumer consumer30 = series::pointLabel;
pointLabelSeriesNameToIndexableDataMap.runIfKeyExistsCast(consumer30, name);
objectArray = pointShapeSeriesNameToTableStringMap.get(name);
if(objectArray != null) {series.pointShape(((io.deephaven.plot.util.tables.TableHandle) objectArray[0]).getTable(), (java.lang.String) objectArray[1]);}
java.util.function.Consumer consumer31 = series::pointSize;
pointSizeSeriesNameToNumberMap.runIfKeyExistsCast(consumer31, name);
java.util.function.Consumer consumer32 = series::errorBarColor;
errorBarColorSeriesNameToStringMap.runIfKeyExistsCast(consumer32, name);
java.util.function.Consumer consumer33 = series::pointColor;
pointColorSeriesNameTointMap.runIfKeyExistsCast(consumer33, name);
java.util.function.Consumer consumer34 = series::pointSize;
pointSizeSeriesNameToIndexableDataMap.runIfKeyExistsCast(consumer34, name);
java.util.function.Consumer consumer35 = series::xToolTipPattern;
xToolTipPatternSeriesNameToStringMap.runIfKeyExistsCast(consumer35, name);
java.util.function.Consumer consumer36 = series::errorBarColor;
errorBarColorSeriesNameTointMap.runIfKeyExistsCast(consumer36, name);
java.util.function.Consumer consumer37 = series::pointColor;
pointColorSeriesNameToPaintArrayMap.runIfKeyExistsCast(consumer37, name);
objectArray = pointSizeSeriesNameToTableStringMap.get(name);
if(objectArray != null) {series.pointSize(((io.deephaven.plot.util.tables.TableHandle) objectArray[0]).getTable(), (java.lang.String) objectArray[1]);}
java.util.function.Consumer consumer38 = series::pointShape;
pointShapeSeriesNameToStringMap.runIfKeyExistsCast(consumer38, name);
java.util.function.Consumer consumer39 = series::toolTipPattern;
toolTipPatternSeriesNameToStringMap.runIfKeyExistsCast(consumer39, name);
}
@Override
public MultiXYSeries copy(AxesImpl axes) {
final MultiXYSeries __s__ = new MultiXYSeries(this, axes);
__s__.pointLabelSeriesNameToObjectArrayMap = pointLabelSeriesNameToObjectArrayMap.copy();
__s__.pointLabelFormatSeriesNameToStringMap = pointLabelFormatSeriesNameToStringMap.copy();
__s__.pointShapeSeriesNameToIndexableDataMap = pointShapeSeriesNameToIndexableDataMap.copy();
__s__.pointShapeSeriesNameToStringArrayMap = pointShapeSeriesNameToStringArrayMap.copy();
__s__.pointColorSeriesNameToTableStringMap = pointColorSeriesNameToTableStringMap.copy();
__s__.pointSizeSeriesNameToSelectableDataSetStringMap = pointSizeSeriesNameToSelectableDataSetStringMap.copy();
__s__.pointsVisibleSeriesNameToBooleanMap = pointsVisibleSeriesNameToBooleanMap.copy();
__s__.pointColorSeriesNameToIndexableDataMap = pointColorSeriesNameToIndexableDataMap.copy();
__s__.pointShapeSeriesNameToSelectableDataSetStringMap = pointShapeSeriesNameToSelectableDataSetStringMap.copy();
__s__.pointLabelSeriesNameToTableStringMap = pointLabelSeriesNameToTableStringMap.copy();
__s__.pointColorSeriesNameToStringMap = pointColorSeriesNameToStringMap.copy();
__s__.pointShapeSeriesNameToShapeMap = pointShapeSeriesNameToShapeMap.copy();
__s__.lineColorSeriesNameTointMap = lineColorSeriesNameTointMap.copy();
__s__.linesVisibleSeriesNameToBooleanMap = linesVisibleSeriesNameToBooleanMap.copy();
__s__.pointLabelSeriesNameToSelectableDataSetStringMap = pointLabelSeriesNameToSelectableDataSetStringMap.copy();
__s__.lineColorSeriesNameToStringMap = lineColorSeriesNameToStringMap.copy();
__s__.seriesColorSeriesNameToPaintMap = seriesColorSeriesNameToPaintMap.copy();
__s__.pointSizeSeriesNameTolongArrayMap = pointSizeSeriesNameTolongArrayMap.copy();
__s__.pointShapeSeriesNameToShapeArrayMap = pointShapeSeriesNameToShapeArrayMap.copy();
__s__.yToolTipPatternSeriesNameToStringMap = yToolTipPatternSeriesNameToStringMap.copy();
__s__.seriesColorSeriesNameTointMap = seriesColorSeriesNameTointMap.copy();
__s__.pointColorSeriesNameTointArrayMap = pointColorSeriesNameTointArrayMap.copy();
__s__.pointLabelSeriesNameToObjectMap = pointLabelSeriesNameToObjectMap.copy();
__s__.errorBarColorSeriesNameToPaintMap = errorBarColorSeriesNameToPaintMap.copy();
__s__.pointColorSeriesNameToSelectableDataSetStringMap = pointColorSeriesNameToSelectableDataSetStringMap.copy();
__s__.lineColorSeriesNameToPaintMap = lineColorSeriesNameToPaintMap.copy();
__s__.seriesColorSeriesNameToStringMap = seriesColorSeriesNameToStringMap.copy();
__s__.pointColorSeriesNameToIntegerArrayMap = pointColorSeriesNameToIntegerArrayMap.copy();
__s__.lineStyleSeriesNameToLineStyleMap = lineStyleSeriesNameToLineStyleMap.copy();
__s__.pointSizeSeriesNameTodoubleArrayMap = pointSizeSeriesNameTodoubleArrayMap.copy();
__s__.gradientVisibleSeriesNameTobooleanMap = gradientVisibleSeriesNameTobooleanMap.copy();
__s__.pointColorSeriesNameToPaintMap = pointColorSeriesNameToPaintMap.copy();
__s__.pointColorIntegerSeriesNameToIndexableDataMap = pointColorIntegerSeriesNameToIndexableDataMap.copy();
__s__.pointSizeSeriesNameTointArrayMap = pointSizeSeriesNameTointArrayMap.copy();
__s__.pointColorSeriesNameToStringArrayMap = pointColorSeriesNameToStringArrayMap.copy();
__s__.pointSizeSeriesNameToTArrayMap = pointSizeSeriesNameToTArrayMap.copy();
__s__.pointLabelSeriesNameToIndexableDataMap = pointLabelSeriesNameToIndexableDataMap.copy();
__s__.pointShapeSeriesNameToTableStringMap = pointShapeSeriesNameToTableStringMap.copy();
__s__.pointSizeSeriesNameToNumberMap = pointSizeSeriesNameToNumberMap.copy();
__s__.errorBarColorSeriesNameToStringMap = errorBarColorSeriesNameToStringMap.copy();
__s__.pointColorSeriesNameTointMap = pointColorSeriesNameTointMap.copy();
__s__.pointSizeSeriesNameToIndexableDataMap = pointSizeSeriesNameToIndexableDataMap.copy();
__s__.xToolTipPatternSeriesNameToStringMap = xToolTipPatternSeriesNameToStringMap.copy();
__s__.errorBarColorSeriesNameTointMap = errorBarColorSeriesNameTointMap.copy();
__s__.pointColorSeriesNameToPaintArrayMap = pointColorSeriesNameToPaintArrayMap.copy();
__s__.pointSizeSeriesNameToTableStringMap = pointSizeSeriesNameToTableStringMap.copy();
__s__.pointShapeSeriesNameToStringMap = pointShapeSeriesNameToStringMap.copy();
__s__.toolTipPatternSeriesNameToStringMap = toolTipPatternSeriesNameToStringMap.copy();
return __s__;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy