NEW VERSION RELEASED! Webix 11 Read More Core Updates, Extended Functionalities in SpreadSheet and File Manager and more

Configuration, JavaScript Programming Example of Configuration

JavaScript Programming Example of Configuration

Check out the programming example that allows configuring Pivot Chart. Feel free to use free coding samples by Webix to accelerate the process of web development.

JS Code

webix.ready(function() { 
    webix.CustomScroll.init();

  webix.ui({
    view: "pivot",
    datatable: {
      minX: true,
      maxX: true,
      minY: true,
      maxY: true,
      footer: "sumOnly",
      rowHeight:27,
      rowLineHeight:27,
    },
    structure: {
      rows: ["form", "name"],
      columns: ["year"],
      values: [{ name: "oil", operation: ["min", "max", "sum"] }],
    },
    url: "https://cdn.webix.com/demodata/pivot.json",  
  });
});