IltSettings.SetValue("Performance.SecState.Imput.Type", IltDecorationType.Chart);
Performance.SecState.In.Type
or
Performance.SecState.Voltage.Type
.
Performance.SecState.Input
", when matching the "
name
" attribute. The CSS property to be customized is
type
.
setting."ilog.tgo.model.IltState"[name="Performance.SecState.Input"] { type: Chart; }
IltSettings.SetValue("Performance.SecState.Input.Type", IltDecorationType.Gauge);
IltColorModifier modifier1 = new IltColorModifier.Shade(0.5f); IltColorModifier modifier2 = new IltColorModifier.MultiColor(IltColorModifier.MultiColor.USE_LAST_VALUE); IltColorModifier modifier = modifier1.compose(modifier2); IltGaugeMapping mapping = (IltGaugeMapping) IltSettings.GetValue("Performance.SecState.Input.Gauge"); mapping.setColorModifier(modifier);
IltGaugeMapping mapping = new IltGaugeMapping(minImg, maxImg); IltSettings.SetValue("Performance.SecState.Input.Gauge", mapping);
Performance.SecState.Input
", when matching the "
name
" attribute. The CSS property to be customized is
gauge
.
minImage
,
maxImage
,
direction
,
colorModifier
. They match corresponding
set
methods of the
IltGaugeMapping
class (and its super class). Refer to
ilog.tgo.graphic.IltGaugeMapping
for information on how to customize the gauge decorations.
MyColorModifier
has been created and included in the search path.
setting."ilog.tgo.model.IltState"[name="Performance.SecState.Input"] { gauge: @+gaugePerf; } Subobject#gaugePerf { class: 'ilog.tgo.graphic.IltGaugeMapping'; minImage: '@|image("icon1.png")'; maxImage:'@|image("icon2.png")'; direction: Bottom; colorModifier: @+myColorModifier; } Subobject#myColorModifier { class: "MyColorModifier"; }
IltSettings.SetValue("Performance.SecState.Input.Type", IltDecorationType.Chart);
IltColorModifier modifier1 = new IltColorModifier.Shade(0.5f); IltColorModifier modifier2 = new IltColorModifier.MultiColor(IltColorModifier.MultiColor.USE_LAST_VALUE); IltColorModifier modifier = modifier1.compose(modifier2); IltChartMapping mapping = (IltChartMapping) IltSettings.GetValue("Performance.SecState.Input.Chart"); mapping.setColorModifier(modifier);
IltChartMapping mapping = new IltChartMapping(minImg, maxImg); IltSettings.SetValue("Performance.SecState.Input.Chart", mapping);
Performance.SecState.Input
", when matching the "
name
" attribute. The CSS property to be customized is
chart
.
minImage
,
maxImage
,
xAxisDirection
,
yAxisDirection
,
colorModifier
. They match corresponding
set
methods of the
IltChartMapping
class (and its super class). Refer to
ilog.tgo.graphic.IltChartMapping
for information on how to customize the chart decorations.
MyColorModifier
has been created and included in the search path.
setting."ilog.tgo.model.IltState"[name="Performance.SecState.Input"] { chart: @+chartPerf; } Subobject#chartPerf { class: 'ilog.tgo.graphic.IltChartMapping'; minImage: '@|image("icon1.png")'; maxImage:'@|image("icon2.png")'; xAxisDirection: Right; yAxisDirection: Bottom; colorModifier: @+myColorModifier; } Subobject#myColorModifier { class: "MyColorModifier"; }
IltSettings.SetValue("Performance.SecState.Input.Type", IltDecorationType.Counter);
IltCounterMapping cm = new IltCounterMapping(new DecimalFormat("#Mbs"), IltrFont.CounterText, true, Color.black, Color.white, Color.black, 3, 1, IlvDirection.Right, false); IltSettings.SetValue("Performance.SecState.Input.Counter", cm);
Performance.SecState.Input
", when matching the "
name
" attribute. The CSS property to be customized is
counter
.
format
,
font
,
antialiasing
,
foregroundColor
,
backgroundColor
,
borderColor
,
xPadding
,
yPadding
. They match corresponding
set
methods of the
IltCounterMapping
class (and its super class). Refer to
ilog.tgo.graphic.IltCounterMapping
for information on how to customize the counter decorations.
setting."ilog.tgo.model.IltState"[name="Performance.SecState.Input"] { counter: @+counterPerf; } Subobject#counterPerf { class: 'ilog.tgo.graphic.IltCounterMapping'; format: @+myNumberFormat; font: "Helvetica-Bold-12"; antialiasing: false; foregroundColor: red; backgroundColor: blue; borderColor: red; xPadding: 100; yPadding: 100; } Subobject#myNumberFormat{ class: 'MyNumberFormat'; }