defines settings for the Pivot chart

object chart;


    view: "pivot",
    structure: {
        rows: ["form", "name"],
        columns: ["year"],
        values: [{ name: "oil", operation: ["max", "sum"] }],
    chart: {
        type: "line",
        scale: "logarithmic",
    // config 

Related samples


The chart object defines settings for the chart in the chart mode. Inside this object you can provide any setting valid for the Chart widget. Basic chart fields:

  • type (string) - chart type (any type except "pie" and "donut")
  • scale (string) - chart scale
  • legend (object) - chart legend
  • scaleColor (string) - scale colors. Can be a hex code or a color name ("#999999", or "grey")
  • lines (boolean) - if false, the lines for the axes are not shown. true by default
See also
Back to top