Files
m.heisig 2d11c43579 Added minimal functionality for Robot teaching
- Added minimal HMI
- Added possibility to open and close all chamber doors
2026-01-17 09:20:39 +01:00

1466 lines
55 KiB
TypeScript

// Compatibility file for non-module typescript compiles without adjustments.
// Use the following line for modern code (needs adjustments to tsconfig.json#configOptions/paths)
// import { TcHmiControl } from "Beckhoff.TwinCAT.HMI.Framework/index.esm.js";
// ***************************************************************************
export declare enum Position {
Left = 0,
Right = 1
}
export declare enum LineStyle {
Dotted = 0,
Dashed = 1,
Solid = 2
}
export declare enum Orientation {
Horizontal = 0,
Vertical = 1
}
export declare enum ValueUnit {
Value = "Value",
'%' = "%"
}
declare class TcHmiBarChart extends TcHmi.Controls.System.TcHmiControl {
#private;
constructor(element: JQuery, pcElement: JQuery, attrs: TcHmi.Controls.ControlAttributeList);
/** member variables */
/** Reference to the root dom element of the current control template as jquery object. */
protected __elementTemplateRoot: JQuery;
/** Reference to the div element used as chart container as jquery object. */
protected __elementChart: JQuery;
/** Reference to the div element used as legend as jquery object. */
protected __elementLegend: JQuery;
/** BarChart element */
protected __barChart: TcHmiCharting.BarChart | null;
/** Internal reference to the attribute 'data-tchmi-y-axis-width' */
protected __sectionsBackgroundColor: TcHmi.Color | null | undefined;
/** Internal reference to the attribute 'data-tchmi-show-x-axis' */
protected __showXAxis: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-x-show-labels' */
protected __xShowLabels: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-x-main-tick-start-value' */
protected __xMainTickMinValue: number | null | undefined;
/** Internal reference to the attribute 'data-tchmi-x-main-tick-max-width' */
protected __xMainTickMaxValue: number | null | undefined;
/** Internal reference to the attribute 'data-tchmi-x-main-tick-steps' */
protected __xMainTickSteps: number | undefined;
/** Internal reference to the attribute 'data-tchmi-x-label-font-family' */
protected __xLabelFontFamily: TcHmi.FontFamily | undefined;
/** Internal reference to the attribute 'data-tchmi-x-label-font-size' */
protected __xLabelFontSize: number | undefined;
/** Internal reference to the attribute 'data-tchmi-x-label-font-weight' */
protected __xLabelFontWeight: TcHmi.FontWeight | undefined;
/** Internal reference to the attribute 'data-tchmi-x-label-font-color' */
protected __xLabelFontColor: TcHmi.SolidColor | null | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-width' */
protected __xAxisWidth: number | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-color' */
protected __xAxisColor: TcHmi.SolidColor | null | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-auto-scaling' */
protected __xAxisAutoScaling: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-decimal-places' */
protected __xAxisDecimalPlaces: number | undefined;
/** Internal reference to the attribute 'data-tchmi-value-format' */
protected __xAxisFormat: TcHmi.IFunction<string> | null | undefined;
/** Internal reference to the attribute 'data-tchmi-show-x-axis-name' */
protected __showXAxisName: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-name' */
protected __xAxisName: string | null | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-font-family' */
protected __xAxisNameFontFamily: TcHmi.FontFamily | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-font-size' */
protected __xAxisNameFontSize: number | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-font-weight' */
protected __xAxisNameFontWeight: TcHmi.FontWeight | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-font-color' */
protected __xAxisNameFontColor: TcHmi.SolidColor | null | undefined;
/** Internal reference to the attribute 'data-tchmi-x-axis-unit' */
protected __xAxisUnit: string | null | undefined;
/** Internal reference to the attribute 'data-tchmi-show-y-axis' */
protected __showYAxis: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-y-position' */
protected __yPosition: keyof typeof TcHmiBarChart.Position | undefined;
/** Internal reference to the attribute 'data-tchmi-y-logarithmic-scale' */
protected __yLogarithmicScale: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-labeling' */
protected __yAxisLabeling: keyof typeof TcHmiCharting.IAxis.AxisLabeling | undefined;
/** Internal reference to the attribute 'data-tchmi-y-main-tick-start-value' */
protected __yMainTickMinValue: number | null | undefined;
/** Internal reference to the attribute 'data-tchmi-y-main-tick-max-width' */
protected __yMainTickMaxValue: number | null | undefined;
/** Internal reference to the attribute 'data-tchmi-y-main-tick-steps' */
protected __yMainTickSteps: number | undefined;
/** Internal reference to the attribute 'data-tchmi-show-y-sub-ticks' */
protected __showYSubTicks: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-y-sub-tick-steps' */
protected __ySubTickSteps: number | null | undefined;
/** Internal reference to the attribute 'data-tchmi-y-show-labels' */
protected __yShowLabels: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-y-label-font-family' */
protected __yLabelFontFamily: TcHmi.FontFamily | undefined;
/** Internal reference to the attribute 'data-tchmi-y-label-font-size' */
protected __yLabelFontSize: number | undefined;
/** Internal reference to the attribute 'data-tchmi-y-label-font-weight' */
protected __yLabelFontWeight: TcHmi.FontWeight | undefined;
/** Internal reference to the attribute 'data-tchmi-y-label-font-color' */
protected __yLabelFontColor: TcHmi.SolidColor | null | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-width' */
protected __yAxisWidth: number | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-color' */
protected __yAxisColor: TcHmi.SolidColor | null | undefined;
/** Internal reference to the attribute 'data-tchmi-show-y-axis-name' */
protected __showYAxisName: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-name' */
protected __yAxisName: string | null | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-font-family' */
protected __yAxisNameFontFamily: TcHmi.FontFamily | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-font-size' */
protected __yAxisNameFontSize: number | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-font-weight' */
protected __yAxisNameFontWeight: TcHmi.FontWeight | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-font-color' */
protected __yAxisNameFontColor: TcHmi.SolidColor | null | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-auto-scaling' */
protected __yAxisAutoScaling: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-decimal-places' */
protected __yAxisDecimalPlaces: number | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-unit' */
protected __yAxisUnit: string | null | undefined;
/** Internal reference to the attribute 'data-tchmi-y-axis-format' */
protected __yAxisFormat: TcHmi.IFunction<string> | null | undefined;
/** Internal reference to the attribute 'data-tchmi-bar-graph-descriptions' */
protected __barGraphDescriptions: BarGraphDescription[] | null | undefined;
/** Internal reference to the attribute 'data-tchmi-bar-graph-colors' */
protected __barGraphColors: TcHmi.SolidColor[] | TcHmi.SolidColor | null | undefined;
/** __barGraphColors as an array of TcHmi.SolidColor or null */
protected __barGraphColorArray: TcHmi.SolidColor[] | null | undefined;
/** The complete color array created from __barGraphDescriptions, __barGraphColorArray and themedRessources as an array of TcHmi.SolidColor or null */
protected __barGraphDescriptionsInternal: BarGraphDescriptionInternal[] | null | undefined;
/** Only barGraphColors that have been selected from __barGraphDescriptionsInternal as an array of TcHmi.SolidColor or null */
protected __barGraphDescriptionsSelected: BarGraphDescriptionInternal[] | null | undefined;
/** Internal reference to the attribute 'data-tchmi-bar-graph-width */
protected __barGraphWidth: number | null | undefined;
/** Internal reference to the attribute 'data-tchmi-line-graph-data' */
protected __barGraphData: number[][] | number[] | null | undefined;
/** __barGraphData as an array of arrays with numbers or null */
protected __barGraphDataArray: number[][] | null | undefined;
/** Only barGraphData that have been selected from __barGraphDataArray as an array of arrays with numbers or null */
protected __barGraphDataSelected: number[][] | null | undefined;
/** Internal reference to the attribute 'data-tchmi-graph-arrangement' */
protected __barGraphArrangement: string | undefined;
/** Internal reference to the attribute 'data-tchmi-reference-lines'*/
protected __referenceLines: ReferenceLine[] | null | undefined;
/** Internal reference to the attribute 'data-tchmi-reference-lines-position' */
protected __referenceLinesPosition: string | undefined;
/** Internal reference to the attribute 'data-tchmi-show-grid' */
protected __showGrid: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-grid-background-color' */
protected __gridBackgroundColor: TcHmi.SolidColor | null | undefined;
/** Internal reference to the attribute 'data-tchmi-grid-show-horizontal-lines' */
protected __gridShowHorizontalLines: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-grid-show-vertical-lines' */
protected __gridShowVerticalLines: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-grid-line-width' */
protected __gridLineWidth: number | undefined;
/** Internal reference to the attribute 'data-tchmi-grid-line-style' */
protected __gridLineStyle: keyof typeof TcHmiBarChart.LineStyle | undefined;
/** Internal reference to the attribute 'data-tchmi-grid-line-color' */
protected __gridLineColor: TcHmi.SolidColor | null | undefined;
/** Internal reference to the attribute 'data-tchmi-subgrid-show-horizontal-lines' */
protected __subgridShowHorizontalLines: boolean | undefined;
/** Internal reference to the attribute 'data-tchmi-subgrid-line-width' */
protected __subgridLineWidth: number | undefined;
/** Internal reference to the attribute 'data-tchmi-subgrid-line-style' */
protected __subgridLineStyle: keyof typeof TcHmiBarChart.LineStyle | undefined;
/** Internal reference to the attribute 'data-tchmi-subgrid-line-color' */
protected __subgridLineColor: TcHmi.SolidColor | null | undefined;
/** Internal reference to the attribute 'data-tchmi-legend-font-family' */
protected __legendFontFamily: TcHmi.FontFamily | undefined;
/** Internal reference to the attribute 'data-tchmi-legend-font-size' */
protected __legendFontSize: number | undefined;
/** Internal reference to the attribute 'data-tchmi-legend-font-style' */
protected __legendFontStyle: TcHmi.FontStyle | undefined;
/** Internal reference to the attribute 'data-tchmi-legend-font-weight' */
protected __legendFontWeight: TcHmi.FontWeight | undefined;
/** Internal variable for legend */
protected __showLegend: boolean | undefined;
protected __storage: TcHmi.LocalStorage<{
activeLegendElements: number[];
}, {
activeLegendElements: number;
}> | undefined;
protected __activeLegendElements: number[] | undefined;
/**
* If raised, the control object exists in control cache and constructor of each inheritation level was called.
* This function is only to be used by the System. Other function calls are not intended.
*/
__previnit(): void;
/**
* If raised, all attributes have been set to it's default or dom values.
* This function is only to be used by the System. Other function calls are not intended.
*/
__init(): void;
/**
* Is called by the system after the control instance gets part of the current DOM.
* This function is only to be used by the System. Other function calls are not intended.
*/
__attach(): void;
/**
* Is called by the system after the control instance is no longer part of the current DOM.
* This function is only to be used by the System. Other function calls are not intended.
*/
__detach(): void;
/**
* Destroy the current control instance.
* Will be called automatically if system destroys control!
*/
destroy(): void;
/**
* Is raised if the control are resized.
*/
protected __rebuild(_event: TcHmi.EventProvider.Event, _control: TcHmi.Controls.System.TcHmiControl): void;
/**
* Is called initial and and if size changed.
*/
__drawBarChart(): void;
/**
* Created legend
*/
__createLegend(useOldElements?: boolean): void;
/**
* Returns the current value of the member variable legend.
*/
protected getCurrentGraphLength(): number;
/**
* Is raised if mouseDown on legend.
* @param e The event of mouseDown.
*/
protected __onCheckboxMouseDown(event: MouseEvent): void;
/**
* Is raised if touchstart on legend.
* @param e The event of touchstart.
*/
protected __onCheckboxTouchStart(event: TouchEvent): void;
/**
* Returns the barGraphColor array from __barGraphDescriptions, __barGraphColorArray and themedRessources
*/
protected __createInternalColorArray(): BarGraphDescriptionInternal[];
/**
* Sets the background value and calls the associated process function.
* @param valueNew The new value for the background attribute as object.
*/
setSectionsBackgroundColor(valueNew: TcHmi.Color | null): void;
/**
* The watch callback for the sectionsBackgroundColor object resolver.
*/
protected __onResolverForSectionsBackgroundColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.Color>): void;
/**
* Returns the current background value.
*/
getSectionsBackgroundColor(): TcHmi.Color | null | undefined;
/**
* Processes the current border-color attribute.
*/
protected __processSectionsBackgroundColor(): void;
/**
* Sets the value of the member variable 'barGraphDescriptions' if the new value is not equal to the current value
* and calls the associated process function (processbarGraphDescriptions) after that.
* @param valueNew The new value for barGraphDescriptions.
*/
setBarGraphDescriptions(valueNew: BarGraphDescription[] | null): void;
/**
* The watch callback for the barGraphDescriptions object resolver.
*/
protected __onResolverForBarGraphDescriptionsWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<BarGraphDescription[]>): void;
/**
* Returns the current value of the member variable barGraphDescriptions.
*/
getBarGraphDescriptions(): BarGraphDescription[] | null | undefined;
/**
* Processes the current value of barGraphDescriptions.
*/
protected __processBarGraphDescriptions(): void;
/**
* Deprecated. Sets the value of BarGraphColors
* @param valueNew The new value for BarGraphColors
* @deprecated Please use setBarGraphDescription
*/
setBarGraphColors(valueNew: TcHmi.SolidColor | TcHmi.SolidColor[] | null): void;
/**
* The watch callback for the barGraphColors object resolver.
*/
protected __onResolverForBarGraphColorsWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor | TcHmi.SolidColor[]>): void;
/**
* Gets the value of BarGraphColors
*/
getBarGraphColors(): TcHmi.SolidColor | TcHmi.SolidColor[] | null | undefined;
/**
* Processes BarGraphColors
*/
protected __processBarGraphColors(): void;
/**
* Sets the value of barGraphData
* @param valueNew The new value for barGraphData
*/
setBarGraphData(valueNew: number[] | number[][] | null): void;
/**
* The watch callback for the barGraphData object resolver.
*/
protected __onResolverForBarGraphDataWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<number[] | number[][]>): void;
/**
* Gets the value of barGraphData
*/
getBarGraphData(): number[] | number[][] | null | undefined;
/**
* Processes barGraphData
*/
protected __processBarGraphData(): void;
/**
* Sets the value of the member variable 'referenceLines' if the new value is not equal to the current value
* and calls the associated process function (processReferenceLines) after that.
* @param valueNew The new value for referenceLines.
*/
setReferenceLines(valueNew: ReferenceLine[] | null): void;
/**
* The watch callback for the referenceLines object resolver.
*/
protected __onResolverForReferenceLinesWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<ReferenceLine[]>): void;
/**
* Returns the current value of the member variable referenceLines.
*/
getReferenceLines(): ReferenceLine[] | null | undefined;
/**
* Processes the current value of referenceLines.
*/
protected __processReferenceLines(): void;
/**
* Sets the value of referenceLinesPosition
* @param valueNew The new value for referenceLinesPosition
* Possible Values: Left, Right
*/
setReferenceLinesPosition(valueNew: string | null): void;
/**
* Gets the value of referenceLinesPosition
* @returns The current value of referenceLinesPosition
*/
getReferenceLinesPosition(): string | undefined;
/**
* Processes referenceLinesPosition
*/
protected __processReferenceLinesPosition(): void;
/**
* Sets the value of bargraphwidth
* @param valueNew The new value for bargraphwidth
*/
setBarGraphWidth(valueNew: number | null): void;
/**
* Gets the value of bargraphwidth
* @returns The current value of bargraphwidth
*/
getBarGraphWidth(): number | null | undefined;
/**
* Processes bargraphwidth
*/
protected __processBarGraphWidth(): void;
/**
* Sets the value of barGraphArrangement
* @param valueNew The new value for barGraphArrangement
* Possible Values: Left, Right
*/
setBarGraphArrangement(valueNew: string | null): void;
/**
* Gets the value of barGraphArrangement
* @returns The current value of barGraphArrangement
*/
getBarGraphArrangement(): string | undefined;
/**
* Processes barGraphArrangement
*/
protected __processBarGraphArrangement(): void;
/**
* Sets the value of showXAxis
* @param valueNew The new value for showXAxis
*/
setShowXAxis(valueNew: boolean | null): void;
/**
* Gets the value of showXAxis
* @returns The current value of showXAxis
*/
getShowXAxis(): boolean | undefined;
/**
* Processes showXAxis
*/
protected __processShowXAxis(): void;
/**
* Sets the value of xShowLabels
* @param valueNew The new value for xShowLabels
*/
setXShowLabels(valueNew: boolean | null): void;
/**
* Gets the value of xShowLabels
* @returns The current value of xShowLabels
*/
getXShowLabels(): boolean | undefined;
/**
* Processes xShowLabels
*/
protected __processXShowLabels(): void;
/**
* Sets the value of xMainTickMinValue
* @param valueNew The new value for xMainTickMinValue
*/
setXMainTickMinValue(valueNew: number | null): void;
/**
* Gets the value of xMainTickMinValue
* @returns The current value of xMainTickMinValue
*/
getXMainTickMinValue(): number | null | undefined;
/**
* Processes xMainTickMinValue
*/
protected __processXMainTickMinValue(): void;
/**
* Sets the value of xMainTickMaxValue
* @param valueNew The new value for xMainTickMaxValue
*/
setXMainTickMaxValue(valueNew: number | null): void;
/**
* Gets the value of xMainTickMaxValue
* @returns The current value of xMainTickMaxValue
*/
getXMainTickMaxValue(): number | null | undefined;
/**
* Processes xMainTickMaxValue
*/
protected __processXMainTickMaxValue(): void;
/**
* Sets the value of xMainTickSteps
* @param valueNew The new value for xMainTickSteps
*/
setXMainTickSteps(valueNew: number | null): void;
/**
* Gets the value of xMainTickSteps
* @returns The current value of xMainTickSteps
*/
getXMainTickSteps(): number | undefined;
/**
* Processes xMainTickSteps
*/
protected __processXMainTickSteps(): void;
/**
* Sets the value of showXSubTicks
* @deprecated
* @param valueNew The new value for showXSubTicks
*/
setShowXSubTicks(valueNew: boolean | null): void;
/**
* Gets the value of showXSubTicks
* @deprecated
* @returns The current value of showXSubTicks
*/
getShowXSubTicks(): boolean;
/**
* Sets the value of xSubTickSteps
* @param valueNew The new value for xSubTickSteps
* @deprecated
*/
setXSubTickSteps(valueNew: number | null): void;
/**
* Gets the value of xSubTickSteps
* @deprecated
* @returns The current value of xSubTickSteps
*/
getXSubTickSteps(): number;
/**
* Sets the value of xLabelFontFamily
* @param valueNew The new value for xLabelFontFamily
*/
setXLabelFontFamily(valueNew: TcHmi.FontFamily | null): void;
/**
* Gets the value of xLabelFontFamily
* @returns The current value of xLabelFontFamily
*/
getXLabelFontFamily(): string | undefined;
/**
* Processes xLabelFontFamily
*/
protected __processXLabelFontFamily(): void;
/**
* Sets the value of xLabelFontSize
* @param valueNew The new value for xLabelFontSize
*/
setXLabelFontSize(valueNew: number | null): void;
/**
* Gets the value of xLabelFontSize
* @returns The current value of xLabelFontSize
*/
getXLabelFontSize(): number | undefined;
/**
* Processes xLabelFontSize
*/
protected __processXLabelFontSize(): void;
/**
* DEPRECATED! xLabelFontSizeUnit is always 'px'. This function exists purely to avoid errors in existing projects.
* @deprecated xLabelFontSizeUnit is always 'px'.
*/
setXLabelFontSizeUnit(valueNew: TcHmi.FontSizeUnit | null): void;
/**
* Gets the value of xLabelFontSizeUnit
* @returns The current value of xLabelFontSizeUnit
*/
getXLabelFontSizeUnit(): string;
/**
* Sets the value of xLabelFontWeight
* @param valueNew The new value for xLabelFontWeight
*/
setXLabelFontWeight(valueNew: TcHmi.FontWeight | null): void;
/**
* Gets the value of xLabelFontWeight
* @returns The current value of xLabelFontWeight
*/
getXLabelFontWeight(): TcHmi.FontWeight | undefined;
/**
* Processes xLabelFontWeight
*/
protected __processXLabelFontWeight(): void;
/**
* Sets the xLabelFontColor value and calls the associated process function (processXLabelFontColor).
* @param valueNew The new value for the xLabelFontColor attribute as object.
*/
setXLabelFontColor(valueNew: TcHmi.SolidColor | null): void;
/**
* The watch callback for the xLabelFontColor object resolver.
*/
protected __onResolverForXLabelFontColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
/**
* Returns the current xLabelFontColor value.
* @returns The current value of the xLabelFontColor member variable as json in string format.
*/
getXLabelFontColor(): TcHmi.SolidColor | null | undefined;
/**
* Processes the current xLabelFontColor attribute.
*/
protected __processXLabelFontColor(): void;
/**
* Sets the value of xAxisWidth
* @param valueNew The new value for xAxisWidth
*/
setXAxisWidth(valueNew: number | null): void;
/**
* Gets the value of xAxisWidth
* @returns The current value of xAxisWidth
*/
getXAxisWidth(): number | undefined;
/**
* Processes xAxisWidth
*/
protected __processXAxisWidth(): void;
/**
* Sets the xAxisColor value and calls the associated process function (processXAxisColor).
* @param valueNew The new value for the xAxisColor attribute as object.
*/
setXAxisColor(valueNew: TcHmi.SolidColor | null): void;
/**
* The watch callback for the xAxisColor object resolver.
*/
protected __onResolverForXAxisColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
/**
* Returns the current xAxisColor value.
* @returns The current value of the xAxisColor member variable as json in string format.
*/
getXAxisColor(): TcHmi.SolidColor | null | undefined;
/**
* Processes the current xAxisColor attribute.
*/
protected __processXAxisColor(): void;
/**
* Sets the value of xAxisAutoScaling
* @param valueNew The new value for xAxisAutoScaling
*/
setXAxisAutoScaling(valueNew: boolean | null): void;
/**
* Gets the value of xAxisAutoScaling
* @returns The current value of xAxisAutoScaling
*/
getXAxisAutoScaling(): boolean | undefined;
/**
* Processes xAxisAutoScaling
*/
protected __processXAxisAutoScaling(): void;
/**
* Sets the value of xAxisDecimalPlaces
* @param valueNew The new value for xAxisDecimalPlaces
*/
setXAxisDecimalPlaces(valueNew: number | null): void;
/**
* Gets the value of xAxisDecimalPlaces
* @returns The current value of xAxisDecimalPlaces
*/
getXAxisDecimalPlaces(): number | undefined;
/**
* Processes xAxisDecimalPlaces
*/
protected __processXAxisDecimalPlaces(): void;
/**
* Sets the xAxis of the xAxisFormat order attribute.
* @param xAxis The new xAxisFormat method.
*/
setXAxisFormat(valueNew: TcHmi.IFunction<string> | null): void;
/**
* The watch callback for the xAxisFormat object resolver.
*/
protected __onResolverForXAxisFormatWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.IFunction<string>>): void;
/**
* Gets the current xAxisFormat method.
* @returns the current xAxisFormat method.
*/
getXAxisFormat(): TcHmi.IFunction<string> | null | undefined;
/**
* Processes the current xAxisFormat method
*/
protected __processXAxisFormat(): void;
/**
* Executes the current xAxisFormat function.
*/
protected __executeXAxisFormatFunction(result: number): string | null;
/**
* Sets the value of showXAxisName
* @param valueNew The new value for showXAxisName
*/
setShowXAxisName(valueNew: boolean | null): void;
/**
* Gets the value of showXAxisName
* @returns The current value of showXAxisName
*/
getShowXAxisName(): boolean | undefined;
/**
* Processes showXAxisName
*/
protected __processShowXAxisName(): void;
/**
* Sets the value of xAxisName
* @param valueNew The new value for xAxisName
*/
setXAxisName(valueNew: string | null): void;
/**
* Gets the value of xAxisName
* @returns The current value of xAxisName
*/
getXAxisName(): string | null | undefined;
/**
* Processes xAxisName
*/
protected __processXAxisName(): void;
/**
* Sets the value of xAxisNameFontFamily
* @param valueNew The new value for xAxisNameFontFamily
*/
setXAxisNameFontFamily(valueNew: TcHmi.FontFamily | null): void;
/**
* Gets the value of xAxisNameFontFamily
* @returns The current value of xAxisNameFontFamily
*/
getXAxisNameFontFamily(): string | undefined;
/**
* Processes xAxisNameFontFamily
*/
protected __processXAxisNameFontFamily(): void;
/**
* Sets the value of xAxisNameFontSize
* @param valueNew The new value for xAxisNameFontSize
*/
setXAxisNameFontSize(valueNew: number | null): void;
/**
* Gets the value of xAxisNameFontSize
* @returns The current value of xAxisNameFontSize
*/
getXAxisNameFontSize(): number | undefined;
/**
* Processes xAxisNameFontSize
*/
protected __processXAxisNameFontSize(): void;
/**
* DEPRECATED! xAxisNameFontSizeUnit is always 'px'. This function exists purely to avoid errors in existing projects.
* @deprecated xAxisNameFontSizeUnit is always 'px'.
*/
setXAxisNameFontSizeUnit(valueNew: TcHmi.FontSizeUnit | null): void;
/**
* Gets the value of xAxisNameFontSizeUnit
* @returns The current value of xAxisNameFontSizeUnit
*/
getXAxisNameFontSizeUnit(): string;
/**
* Sets the value of xAxisNameFontWeight
* @param valueNew The new value for xAxisNameFontWeight
*/
setXAxisNameFontWeight(valueNew: TcHmi.FontWeight | null): void;
/**
* Gets the value of xAxisNameFontWeight
* @returns The current value of xAxisNameFontWeight
*/
getXAxisNameFontWeight(): TcHmi.FontWeight | undefined;
/**
* Processes xAxisNameFontWeight
*/
protected __processXAxisNameFontWeight(): void;
/**
* Sets the xAxisNameFontColor value and calls the associated process function (processXAxisNameFontColor).
* @param valueNew The new value for the xAxisNameFontColor attribute as object.
*/
setXAxisNameFontColor(valueNew: TcHmi.SolidColor | null): void;
/**
* The watch callback for the xAxisNameFontColor object resolver.
*/
protected __onResolverForXAxisNameFontColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
/**
* Returns the current xAxisNameFontColor value.
* @returns The current value of the xAxisNameFontColor member variable as json in string format.
*/
getXAxisNameFontColor(): TcHmi.SolidColor | null | undefined;
/**
* Processes the current xAxisNameFontColor attribute.
*/
protected __processXAxisNameFontColor(): void;
/**
* Sets the value of xAxisUnit
* @param valueNew The new value for xAxisUnit
*/
setXAxisUnit(valueNew: string | null): void;
/**
* Gets the value of xAxisUnit
* @returns The current value of xAxisUnit
*/
getXAxisUnit(): string | null | undefined;
/**
* Processes xAxisUnit
*/
protected __processXAxisUnit(): void;
/**
* Sets the value of showYAxis
* @param valueNew The new value for showYAxis
*/
setShowYAxis(valueNew: boolean | null): void;
/**
* Gets the value of showYAxis
* @returns The current value of showYAxis
*/
getShowYAxis(): boolean | undefined;
/**
* Processes showYAxis
*/
protected __processShowYAxis(): void;
/**
* Sets the value of yPosition
* @param valueNew The new value for yPosition
* Possible Values: Left, Right
*/
setYPosition(valueNew: keyof typeof TcHmiBarChart.Position | null): void;
/**
* Gets the value of yPosition
* @returns The current value of yPosition
*/
getYPosition(): "Left" | "Right" | undefined;
/**
* Processes yPosition
*/
protected __processYPosition(): void;
/**
* Sets the value of yLogarithmicScale
* @param valueNew The new value for yLogarithmicScale
*/
setYLogarithmicScale(valueNew: boolean | null): void;
/**
* Gets the value of yLogarithmicScale
* @returns The current value of yLogarithmicScale
*/
getYLogarithmicScale(): boolean | undefined;
/**
* Processes yLogarithmicScale
*/
protected __processYLogarithmicScale(): void;
/**
* Sets the value of yAxisLabeling
* @param valueNew The new value for yAxisLabeling
* Possible Values: Number, Scientific, Auto
*/
setYAxisLabeling(valueNew: keyof typeof TcHmiCharting.IAxis.AxisLabeling | null): void;
/**
* Gets the value of yAxisLabeling
* @returns The current value of yAxisLabeling
*/
getYAxisLabeling(): "Auto" | "Number" | "Scientific" | undefined;
/**
* Processes yAxisLabeling
*/
protected __processYAxisLabeling(): void;
/**
* Sets the value of yMainTickMinValue
* @param valueNew The new value for yMainTickMinValue
*/
setYMainTickMinValue(valueNew: number | null): void;
/**
* Gets the value of yMainTickMinValue
* @returns The current value of yMainTickMinValue
*/
getYMainTickMinValue(): number | null | undefined;
/**
* Processes yMainTickMinValue
*/
protected __processYMainTickMinValue(): void;
/**
* Sets the value of yMainTickMaxValue
* @param valueNew The new value for yMainTickMaxValue
*/
setYMainTickMaxValue(valueNew: number | null): void;
/**
* Gets the value of yMainTickMaxValue
* @returns The current value of yMainTickMaxValue
*/
getYMainTickMaxValue(): number | null | undefined;
/**
* Processes yMainTickMaxValue
*/
protected __processYMainTickMaxValue(): void;
/**
* Sets the value of yMainTickSteps
* @param valueNew The new value for yMainTickSteps
*/
setYMainTickSteps(valueNew: number | null): void;
/**
* Gets the value of yMainTickSteps
* @returns The current value of yMainTickSteps
*/
getYMainTickSteps(): number | undefined;
/**
* Processes yMainTickSteps
*/
protected __processYMainTickSteps(): void;
/**
* Sets the value of ShowYSubTicks
* @param valueNew The new value for ShowYSubTicks
*/
setShowYSubTicks(valueNew: boolean | null): void;
/**
* Gets the value of ShowYSubTicks
* @returns The current value of ShowYSubTicks
*/
getShowYSubTicks(): boolean | undefined;
/**
* Processes ShowYSubTicks
*/
protected __processShowYSubTicks(): void;
/**
* Sets the value of ySubTickSteps
* @param valueNew The new value for ySubTickSteps
*/
setYSubTickSteps(valueNew: number | null): void;
/**
* Gets the value of ySubTickSteps
* @returns The current value of ySubTickSteps
*/
getYSubTickSteps(): number | null | undefined;
/**
* Processes ySubTickSteps
*/
protected __processYSubTickSteps(): void;
/**
* Sets the value of yShowLabels
* @param valueNew The new value for yShowLabels
*/
setYShowLabels(valueNew: boolean | null): void;
/**
* Gets the value of yShowLabels
* @returns The current value of yShowLabels
*/
getYShowLabels(): boolean | undefined;
/**
* Processes xShowLabels
*/
protected __processYShowLabels(): void;
/**
* Sets the value of yLabelFontFamily
* @param valueNew The new value for yLabelFontFamily
*/
setYLabelFontFamily(valueNew: TcHmi.FontFamily | null): void;
/**
* Gets the value of yLabelFontFamily
* @returns The current value of yLabelFontFamily
*/
getYLabelFontFamily(): string | undefined;
/**
* Processes yLabelFontFamily
*/
protected __processYLabelFontFamily(): void;
/**
* Sets the value of yLabelFontSize
* @param valueNew The new value for yLabelFontSize
*/
setYLabelFontSize(valueNew: number | null): void;
/**
* Gets the value of yLabelFontSize
* @returns The current value of yLabelFontSize
*/
getYLabelFontSize(): number | undefined;
/**
* Processes yLabelFontSize
*/
protected __processYLabelFontSize(): void;
/**
* DEPRECATED! yLabelFontSizeUnit is always 'px'. This function exists purely to avoid errors in existing projects.
* @deprecated yLabelFontSizeUnit is always 'px'.
*/
setYLabelFontSizeUnit(valueNew: TcHmi.FontSizeUnit | null): void;
/**
* Gets the value of yLabelFontSizeUnit
* @returns The current value of yLabelFontSizeUnit
*/
getYLabelFontSizeUnit(): string;
/**
* Sets the value of yLabelFontWeight
* @param valueNew The new value for yLabelFontWeight
*/
setYLabelFontWeight(valueNew: TcHmi.FontWeight | null): void;
/**
* Gets the value of yLabelFontWeight
* @returns The current value of yLabelFontWeight
*/
getYLabelFontWeight(): TcHmi.FontWeight | undefined;
/**
* Processes yLabelFontWeight
*/
protected __processYLabelFontWeight(): void;
/**
* Sets the yLabelFontColor value and calls the associated process function (processyLabelFontColor).
* @param valueNew The new value for the yLabelFontColor attribute as object.
*/
setYLabelFontColor(valueNew: TcHmi.SolidColor | null): void;
/**
* The watch callback for the yLabelFontColor object resolver.
*/
protected __onResolverForYLabelFontColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
/**
* Returns the current yLabelFontColor value.
* @returns The current value of the yLabelFontColor member variable as json in string format.
*/
getYLabelFontColor(): TcHmi.SolidColor | null | undefined;
/**
* Processes the current yLabelFontColor attribute.
*/
protected __processYLabelFontColor(): void;
/**
* Sets the value of YAxisWidth
* @param valueNew The new value for YAxisWidth
*/
setYAxisWidth(valueNew: number | null): void;
/**
* Gets the value of YAxisWidth
* @returns The current value of YAxisWidth
*/
getYAxisWidth(): number | undefined;
/**
* Processes YAxisWidth
*/
protected __processYAxisWidth(): void;
/**
* Sets the YAxisColor value and calls the associated process function (processYAxisColor).
* @param valueNew The new value for the YAxisColor attribute as object.
*/
setYAxisColor(valueNew: TcHmi.SolidColor | null): void;
/**
* The watch callback for the yAxisColor object resolver.
*/
protected __onResolverForYAxisColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
/**
* Returns the current YAxisColor value.
* @returns The current value of the YAxisColor member variable as json in string format.
*/
getYAxisColor(): TcHmi.SolidColor | null | undefined;
/**
* Processes the current YAxisColor attribute.
*/
protected __processYAxisColor(): void;
/**
* Sets the value of showYAxisName
* @param valueNew The new value for showYAxisName
*/
setShowYAxisName(valueNew: boolean | null): void;
/**
* Gets the value of showYAxisName
* @returns The current value of showYAxisName
*/
getShowYAxisName(): boolean | undefined;
/**
* Processes showYAxisName
*/
protected __processShowYAxisName(): void;
/**
* Sets the value of yAxisName
* @param valueNew The new value for yAxisName
*/
setYAxisName(valueNew: string | null): void;
/**
* Gets the value of yAxisName
* @returns The current value of yAxisName
*/
getYAxisName(): string | null | undefined;
/**
* Processes yAxisName
*/
protected __processYAxisName(): void;
/**
* Sets the value of yAxisNameFontFamily
* @param valueNew The new value for yAxisNameFontFamily
*/
setYAxisNameFontFamily(valueNew: TcHmi.FontFamily | null): void;
/**
* Gets the value of yAxisNameFontFamily
* @returns The current value of yAxisNameFontFamily
*/
getYAxisNameFontFamily(): string | undefined;
/**
* Processes yAxisNameFontFamily
*/
protected __processYAxisNameFontFamily(): void;
/**
* Sets the value of yAxisNameFontSize
* @param valueNew The new value for yAxisNameFontSize
*/
setYAxisNameFontSize(valueNew: number | null): void;
/**
* Gets the value of yAxisNameFontSize
* @returns The current value of yAxisNameFontSize
*/
getYAxisNameFontSize(): number | undefined;
/**
* Processes yAxisNameFontSize
*/
protected __processYAxisNameFontSize(): void;
/**
* DEPRECATED! yAxisNameFontSizeUnit is always 'px'. This function exists purely to avoid errors in existing projects.
* @deprecated yAxisNameFontSizeUnit is always 'px'.
*/
setYAxisNameFontSizeUnit(valueNew: TcHmi.FontSizeUnit | null): void;
/**
* Gets the value of yAxisNameFontSizeUnit
* @returns The current value of yAxisNameFontSizeUnit
*/
getYAxisNameFontSizeUnit(): string;
/**
* Sets the value of yAxisNameFontWeight
* @param valueNew The new value for yAxisNameFontWeight
*/
setYAxisNameFontWeight(valueNew: TcHmi.FontWeight | null): void;
/**
* Gets the value of yAxisNameFontWeight
* @returns The current value of yAxisNameFontWeight
*/
getYAxisNameFontWeight(): TcHmi.FontWeight | undefined;
/**
* Processes yAxisNameFontWeight
*/
protected __processYAxisNameFontWeight(): void;
/**
* Sets the yAxisNameFontColor value and calls the associated process function (processYAxisNameFontColor).
* @param valueNew The new value for the yAxisNameFontColor attribute as object.
*/
setYAxisNameFontColor(valueNew: TcHmi.SolidColor | null): void;
/**
* The watch callback for the yAxisNameFontColor object resolver.
*/
protected __onResolverForYAxisNameFontColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
/**
* Returns the current yAxisNameFontColor value.
* @returns The current value of the yAxisNameFontColor member variable as json in string format.
*/
getYAxisNameFontColor(): TcHmi.SolidColor | null | undefined;
/**
* Processes the current yAxisNameFontColor attribute.
*/
protected __processYAxisNameFontColor(): void;
/**
* Sets the value of YAxisAutoScaling
* @param valueNew The new value for YAxisAutoScaling
*/
setYAxisAutoScaling(valueNew: boolean | null): void;
/**
* Gets the value of YAxisAutoScaling
* @returns The current value of YAxisAutoScaling
*/
getYAxisAutoScaling(): boolean | undefined;
/**
* Processes YAxisAutoScaling
*/
protected __processYAxisAutoScaling(): void;
/**
* Sets the value of YAxisDecimalPlaces
* @param valueNew The new value for YAxisDecimalPlaces
*/
setYAxisDecimalPlaces(valueNew: number | null): void;
/**
* Gets the value of YAxisDecimalPlaces
* @returns The current value of YAxisDecimalPlaces
*/
getYAxisDecimalPlaces(): number | undefined;
/**
* Processes YAxisDecimalPlaces
*/
protected __processYAxisDecimalPlaces(): void;
/**
* Sets the value of yAxisUnit
* @param valueNew The new value for yAxisUnit
*/
setYAxisUnit(valueNew: string | null): void;
/**
* Gets the value of yAxisUnit
* @returns The current value of yAxisUnit
*/
getYAxisUnit(): string | null | undefined;
/**
* Processes yAxisUnit
*/
protected __processYAxisUnit(): void;
/**
* Sets the xAxis of the yAxisFormat order attribute.
* @param yAxis The new yAxisFormat method.
*/
setYAxisFormat(valueNew: TcHmi.IFunction<string> | null): void;
/**
* The watch callback for the yAxisFormat object resolver.
*/
protected __onResolverForYAxisFormatWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.IFunction<string>>): void;
/**
* Gets the current yAxisFormat method.
* @returns the current yAxisFormat method.
*/
getYAxisFormat(): TcHmi.IFunction<string> | null | undefined;
/**
* Processes the current xAxisFormat method
*/
protected __processYAxisFormat(): void;
/**
* Executes the current yAxisFormat function.
*/
protected __executeYAxisFormatFunction(format: TcHmi.IFunction<string> | undefined, value: number): string | null;
/**
* Sets the value of showGrid
* @param valueNew The new value for showGrid
*/
setShowGrid(valueNew: boolean | null): void;
/**
* Gets the value of showGrid
* @returns The current value of showGrid
*/
getShowGrid(): boolean | undefined;
/**
* Processes showGrid
*/
protected __processShowGrid(): void;
/**
* Sets the gridBackgroundColor value and calls the associated process function (processGridBackgroundColor).
* @param valueNew The new value for the gridBackgroundColor attribute as object.
*/
setGridBackgroundColor(valueNew: TcHmi.SolidColor | null): void;
/**
* The watch callback for the gridBackgroundColor object resolver.
*/
protected __onResolverForGridBackgroundColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
/**
* Returns the current gridBackgroundColor value.
* @returns The current value of the gridBackgroundColor member variable as json in string format.
*/
getGridBackgroundColor(): TcHmi.SolidColor | null | undefined;
/**
* Processes the current gridBackgroundColor attribute.
*/
protected __processGridBackgroundColor(): void;
/**
* Sets the value of gridShowHorizontalLines
* @param valueNew The new value for gridShowHorizontalLines
*/
setGridShowHorizontalLines(valueNew: boolean | null): void;
/**
* Gets the value of gridShowHorizontalLines
* @returns The current value of gridShowHorizontalLines
*/
getGridShowHorizontalLines(): boolean | undefined;
/**
* Processes gridShowHorizontalLines
*/
protected __processGridShowHorizontalLines(): void;
/**
* Sets the value of gridShowVerticalLines
* @param valueNew The new value for gridShowVerticalLines
*/
setGridShowVerticalLines(valueNew: boolean | null): void;
/**
* Gets the value of gridShowVerticalLines
* @returns The current value of gridShowVerticalLines
*/
getGridShowVerticalLines(): boolean | undefined;
/**
* Processes gridShowVerticalLines
*/
protected __processGridShowVerticalLines(): void;
/**
* Sets the value of gridLineWidth
* @param valueNew The new value for gridLineWidth
*/
setGridLineWidth(valueNew: number | null): void;
/**
* Gets the value of gridLineWidth
* @returns The current value of gridLineWidth
*/
getGridLineWidth(): number | undefined;
/**
* Processes gridLineWidth
*/
protected __processGridLineWidth(): void;
/**
* Sets the value of gridLineStyle
* @param valueNew The new value for gridLineStyle
*/
setGridLineStyle(valueNew: keyof typeof TcHmiBarChart.LineStyle | null): void;
/**
* Gets the value of gridLineStyle
*/
getGridLineStyle(): "Dotted" | "Dashed" | "Solid" | undefined;
/**
* Processes gridLineStyle
*/
protected __processGridLineStyle(): void;
/**
* Sets the gridLineColor value and calls the associated process function (processGridLineColor).
* @param valueNew The new value for the gridLineColor attribute as object.
*/
setGridLineColor(valueNew: TcHmi.SolidColor | null): void;
/**
* The watch callback for the gridLineColor object resolver.
*/
protected __onResolverForGridLineColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
/**
* Returns the current gridLineColor value.
* @returns The current value of the gridLineColor member variable as json in string format.
*/
getGridLineColor(): TcHmi.SolidColor | null | undefined;
/**
* Processes the current gridLineColor attribute.
*/
protected __processGridLineColor(): void;
/**
* Sets the value of subgridShowHorizontalLines
* @param valueNew The new value for subgridShowHorizontalLines
*/
setSubgridShowHorizontalLines(valueNew: boolean | null): void;
/**
* Gets the value of subgridShowHorizontalLines
* @returns The current value of subgridShowHorizontalLines
*/
getSubgridShowHorizontalLines(): boolean | undefined;
/**
* Processes subgridShowHorizontalLines
*/
protected __processSubgridShowHorizontalLines(): void;
/**
* Sets the value of subgridShowVerticalLines
* @deprecated
* @param valueNew The new value for subgridShowVerticalLines
*/
setSubgridShowVerticalLines(valueNew: boolean | null): void;
/**
* Gets the value of subgridShowVerticalLines
* @deprecated
* @returns The current value of subgridShowVerticalLines
*/
getSubgridShowVerticalLines(): boolean;
/**
* Sets the value of subgridLineWidth
* @param valueNew The new value for subgridLineWidth
*/
setSubgridLineWidth(valueNew: number | null): void;
/**
* Gets the value of subgridLineWidth
* @returns The current value of subgridLineWidth
*/
getSubgridLineWidth(): number | undefined;
/**
* Processes subgridLineWidth
*/
protected __processSubgridLineWidth(): void;
/**
* Sets the value of subgridLineStyle
* @param valueNew The new value for subgridLineStyle
*/
setSubgridLineStyle(valueNew: keyof typeof TcHmiBarChart.LineStyle | null): void;
/**
* Gets the value of subgridLineStyle
*/
getSubgridLineStyle(): "Dotted" | "Dashed" | "Solid" | undefined;
/**
* Processes subgridLineStyle
*/
protected __processSubgridLineStyle(): void;
/**
* Sets the subgridLineColor value and calls the associated process function (processSubgridLineColor).
* @param valueNew The new value for the subgridLineColor attribute as object.
*/
setSubgridLineColor(valueNew: TcHmi.SolidColor | null): void;
/**
* The watch callback for the subgridLineColor object resolver.
*/
protected __onResolverForSubgridLineColorWatchCallback(data: TcHmi.Symbol.ObjectResolver.IWatchResultObject<TcHmi.SolidColor>): void;
/**
* Returns the current subgridLineColor value.
* @returns The current value of the subgridLineColor member variable as json in string format.
*/
getSubgridLineColor(): TcHmi.SolidColor | null | undefined;
/**
* Processes the current subgridLineColor attribute.
*/
protected __processSubgridLineColor(): void;
/**
* Sets the value of showLegend
* @param valueNew The new value for showLegend
*/
setShowLegend(valueNew: boolean | null): void;
/**
* Gets the value of showLegend
* @returns The current value of showLegend
*/
getShowLegend(): boolean | undefined;
/**
* Processes showLegend
*/
protected __processShowLegend(): void;
/**
* Sets the value of legendFontFamily
* @param valueNew The new value for legendFontFamily
*/
setLegendFontFamily(valueNew: TcHmi.FontFamily | null): void;
/**
* Gets the value of legendFontFamily
* @returns The current value of legendFontFamily
*/
getLegendFontFamily(): string | undefined;
/**
* Processes legendFontFamily
*/
protected __processLegendFontFamily(): void;
/**
* Sets the value of legendFontSize
* @param valueNew The new value for legendFontSize
*/
setLegendFontSize(valueNew: number | null): void;
/**
* Gets the value of legendFontSize
* @returns The current value of legendFontSize
*/
getLegendFontSize(): number | undefined;
/**
* Processes legendFontSize
*/
protected __processLegendFontSize(): void;
/**
* Gets the value of legendFontSizeUnit
* @returns The current value of legendFontSizeUnit
*/
getLegendFontSizeUnit(): string;
/**
* Sets the legend font style and calls the associated process function.
* @param valueNew The new value for legendFontStyle
*/
setLegendFontStyle(valueNew: TcHmi.FontStyle | null): void;
/**
* Returns the current value of legendFontStyle.
* @returns The current value of legendFontStyle.
*/
getLegendFontStyle(): TcHmi.FontStyle | undefined;
/**
* Processes the current legendFontStyle.
*/
protected __processLegendFontStyle(): void;
/**
* Sets the value of legendFontWeight
* @param valueNew The new value for legendFontWeight
*/
setLegendFontWeight(valueNew: TcHmi.FontWeight | null): void;
/**
* Gets the value of legendFontWeight
* @returns The current value of legendFontWeight
*/
getLegendFontWeight(): TcHmi.FontWeight | undefined;
/**
* Processes legendFontWeight
*/
protected __processLegendFontWeight(): void;
static Position: typeof Position;
static LineStyle: typeof LineStyle;
static Orientation: typeof Orientation;
static ValueUnit: typeof ValueUnit;
}
export interface BarGraphColors {
barColor: TcHmi.SolidColor;
}
export interface BarGraphDescription {
barColor?: TcHmi.SolidColor;
legendName?: string;
scaleFactor?: number;
colorRanges?: ColorRangesEngineering[];
defaultVisibility?: boolean;
}
export interface BarGraphDescriptionInternal extends BarGraphDescription {
colorRanges?: ColorRanges[];
}
export interface ReferenceLine {
name: string;
show?: boolean;
yAxisId?: number;
value: number;
valueUnit?: ValueUnit;
orientation: Orientation;
color?: TcHmi.SolidColor;
lineWidth?: number;
showLabel?: boolean;
labelHorizontalAlignment?: TcHmi.HorizontalAlignment;
labelVerticalAlignment?: TcHmi.VerticalAlignment;
labelFontFamily?: TcHmi.FontFamily;
labelFontSize?: number;
labelFontSizeUnit?: TcHmi.FontSizeUnit;
labelFontWeight?: TcHmi.FontWeight;
}
export interface ColorRangesEngineering {
color: TcHmi.SolidColor;
expression: TcHmi.Filter | null | undefined;
}
export interface ColorRanges extends ColorRangesEngineering {
filterInstance?: TcHmi.FilterInstance;
}
export { TcHmiBarChart as Control };
declare const _TcHmiBarChart: typeof TcHmiBarChart;
type tTcHmiBarChart = TcHmiBarChart;
type tPosition = Position;
type tLineStyle = LineStyle;
type tOrientation = Orientation;
type tValueUnit = ValueUnit;
type tBarGraphColors = BarGraphColors;
type tBarGraphDescription = BarGraphDescription;
type tReferenceLine = ReferenceLine;
type tColorRangesEngineering = ColorRangesEngineering;
type tColorRanges = ColorRanges;
declare global {
namespace TcHmi.Controls.Beckhoff {
const TcHmiBarChart: typeof _TcHmiBarChart;
type TcHmiBarChart = tTcHmiBarChart;
namespace TcHmiBarChart {
type Position = tPosition;
type LineStyle = tLineStyle;
type Orientation = tOrientation;
type ValueUnit = tValueUnit;
type barGraphColors = tBarGraphColors;
type barGraphDescription = tBarGraphDescription;
type ReferenceLine = tReferenceLine;
type ColorRangesEngineering = tColorRangesEngineering;
type ColorRanges = tColorRanges;
}
}
}