Dear Experts,
I want to know how to disable the color pallette colors from the Viz frame report.
Pls refer the below code and screen shot
1. As colors Red, Blue and Yellow with Texts in legend are displaying based on the rules set below.
2. Legend proerties such as "More than 20 hours" and "less than 10 hours" are displaying based on the color pallette code below and they are highlighted in screen shot, i want to remove these from output.
Please help me get the code to remove these prorperties.
If dont use colorPalette:[ "#f33334", "#f29b1d", "#5899DA" ], system pics up random colors and shows in output.
oVizFrame.setVizProperties(
{ title: { visible: false, text: "Pallet Status" },
plotArea: { dataLabel: { visible: true },
colorPalette:[ "#f33334", "#f29b1d", "#5899DA" ],
visible: false,
dataPointStyleMode: "update",
dataPointStyle: {
"rules": [
{ callback: oRule1, "properties": { "color": "#f33334" }, "displayName": "Red" },
{ callback: oRule2, "properties": { "color": "#f29b1d" }, "displayName": "Yellow" },
{ callback: oRule3, "properties": { "color": "#5899DA" }, "displayName": "Blue" }]
} } });