Configuring a visualization
define(function(){
"use strict";
varruleSpec={/* ... */};
return{rules:[ruleSpec]};
});Common model configurations
var ruleSpec = { select: { module: "pentaho/visual/models/Pie", application: "pentaho/analyzer" }, apply: { isBrowsable: false } };var ruleSpec = { select: { module: [ "pentaho/visual/models/Line", "pentaho/visual/models/BarLine" ], application: "pentaho/analyzer" }, apply: { props: { lineWidth: { defaultValue: 2, isBrowsable: false } } } };var ruleSpec = { select: { module: [ "pentaho/visual/models/Line", "pentaho/visual/models/BarLine" ] }, apply: { props: { shape: { defaultValue: "diamond" } } } };var ruleSpec = { select: { module: "pentaho/visual/models/Bar" }, apply: { label: "Vertical Bars" } };
Common view configurations
Common color palette configurations
Stock visualizations identifiers
Local Module ID
Description
Stock color palettes identifiers
Last updated
Was this helpful?

