Area Chart Sample

Group Area Chart Sample

Stack Area Chart Sample

Data Collection

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

Configurations

{
   
    charts : [{type: "area",  x : "rpm", y : "torque"}],
    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