Package com.digitizer.io
Class DatasetJson
java.lang.Object
com.digitizer.io.DatasetJson
Data model for JSON serialization of datasets.
Represents a single dataset with its metadata and points.
-
Field Details
-
name
-
color
-
points
-
visible
@SerializedName("visible") public boolean visible -
useSecondaryY
@SerializedName("use_secondary_y") public boolean useSecondaryY
-
-
Constructor Details
-
DatasetJson
public DatasetJson()Constructs a new DatasetJson with empty points list. -
DatasetJson
Constructs a DatasetJson with all fields.- Parameters:
name- the dataset namecolor- the hex color stringpoints- the list of [x, y] coordinate pairs
-
DatasetJson
-
DatasetJson
-