External module "gauge/gauge"
Functions
arcColorsModifier
arcColorsModifier( arcDelimiters: number [] , arcColors: string [] ) : string []
Parameters
arcDelimiters: number []
arcColors: string []
Returns string []
modified list of colors.
arcOutline
arcOutline( svg: any , chartHeight: number , offset: number , arcColors: string [] , outerRadius: number , arcDelimiters: number [] , arcOverEffect: boolean , padding: number , paddingColor: string , arcLabels: string [] , arcLabelFontSize: number , arcLabelColor: string , labelsFont: string ) : void
Parameters
svg: any
chartHeight: number
offset: number
arcColors: string []
outerRadius: number
arcDelimiters: number []
arcOverEffect: boolean
padding: number
paddingColor: string
arcLabels: string []
arcLabelFontSize: number
arcLabelColor: string
labelsFont: string
Returns void
modified svg.
gaugeChart
Parameters
element: Element
areaWidth: number
labelOutline
labelOutline( svg: any , areaWidth: number , chartHeight: number , offset: number , outerRadius: number , rangeLabel: string [] , centralLabel: string , rangeLabelFontSize: number , labelsFont: string , centralLabelColor: string , rangeLabelColors: string [] ) : void
Parameters
svg: any
areaWidth: number
chartHeight: number
offset: number
outerRadius: number
rangeLabel: string []
centralLabel: string
rangeLabelFontSize: number
labelsFont: string
centralLabelColor: string
rangeLabelColors: string []
Returns void
modified svg.
needleBaseOutline
needleBaseOutline( svg: any , chartHeight: number , offset: number , needleColor: string , centralLabel: string , outerNeedle: boolean ) : void
Parameters
svg: any
chartHeight: number
offset: number
needleColor: string
centralLabel: string
outerNeedle: boolean
Returns void
modified svg.
needleOutline
needleOutline( svg: any , chartHeight: number , offset: number , needleColor: string , outerRadius: number , centralLabel: string , outerNeedle: boolean , needleStartValue: number ) : Needle
Parameters
svg: any
chartHeight: number
offset: number
needleColor: string
outerRadius: number
centralLabel: string
outerNeedle: boolean
needleStartValue: number
modified svg.
needleValueModifier
needleValueModifier( needleValue: number ) : number
Parameters
Returns number
modified needleValue.
perc2RadWithShift
perc2RadWithShift( perc: number ) : number
Parameters
Returns number
value in radians.
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Function that checks whether the number of colors is enough for drawing specified delimiters. Adds standard colors if not enough or cuts the array if there are too many of them.