Group Multi Line Chart Sample

Single Line Chart Sample

Data Collection

{
  "metadata" : {
      "names" : ["rpm","torque","horsepower", "EngineType"],
      "types" : ["linear","linear", "ordinal","ordinal"]
  },
  "data": [
    [1, 10, 1, "Piston"]]
};

Configurations

{
  x : "rpm",
  charts : [{type: "line",  y : "torque", color: "EngineType"}],
  maxLength: 10,
  width: 400,
  height: 200
}
                      
Property Value Description
title String Title of the table
x String cAttribute name for X-axis
maxLength int Maximum length of chart datatable
height px height of the chart
charts object Collection of charts
Property Value Description
type String Title of the table
y String Attribute name for Y-axis
color String Attribute name for color dimension