Forums

Full Version: This script can be used to change the opacity by script.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
var paddings = {
 "leftBorderToDescription": 0,
 "leftDescriptionToMarkers": 0,
 "leftMarkersToLine": 0,
 "rightBorderToLegend": 0,
 "rightLegendToLine": 0,
 "rightLegendToDescription": 0,
 "rightDescriptionToMarkers": 0,
 "rightMarkersToLine": 0,
 "topTitleToSubtitle": 0,
 "topSubtitleToChart": 0,
 "bottomBorderToDescription": 0,
 "bottomDescriptionToMarkers": 0,
 "chartToBorder": 0
 };
sdk.getWidget('Datagrid1').m_chartpaddings = paddings;

var ch = sdk.getWidget('Datagrid1'); ch.m_rowopacity = 0.8;
    ch.m_headerrowopacity = 0.6;
    ch.m_rowhoveropacity = 0.4;
    ch.m_rowselectedopacity = 0.6;
    ch.m_rowlinesopacity = 0.8;