Cumulocity API Services / com.softwareag.jc.cumulocity.services.models / DataPoints / Value / <init>

<init>

Value(id: String, fragment: String, label: String, unit: String, series: String, lineType: String, color: String, renderType: String)

create a new DataPoint to allow measurements to be contextualised

Parameters

id - id of the of the datapoint

fragment - name of the measurement that this data point is referencing

label - human readable label to identify the measurement

unit - human readable unit of measure for the measurement value

series - required if the measurement comprises sub values or values in different units

lineType - clue for drawing tools to determine how this measurement should be displayed

color - clue from drawing tools to determine what the color of the measurement

Constructor
create a new DataPoint to allow measurements to be contextualised