FormatConditionRangeGenerator Class
Declaration
export class FormatConditionRangeGenerator
Methods
static calculateRangePercentValues(
segmentCount: number
): Array<number>
Name |
Type |
segmentCount |
number |
static compareValues(
val1: any,
val2: any,
changeType: boolean
): number
Name |
Type |
val1 |
any |
val2 |
any |
changeType |
boolean |
static generateGradientByStyles(
condition: DevExpress.Dashboard.Model.FormatConditionRangeGradient,
styles: Array<DevExpress.Dashboard.Model.StyleSettingsBase>,
segmentNumber: number
): void
static generateGradientByType(
condition: DevExpress.Dashboard.Model.FormatConditionRangeGradient,
type: DevExpress.Dashboard.Model.FormatConditionRangeGradientPredefinedType,
segmentNumber: number,
isBar?: boolean
): void
static generateGradientColors(
gradientType: DevExpress.Dashboard.Model.FormatConditionRangeGradientPredefinedType,
count: number
): Array<DevExpress.Dashboard.Model.Color>
static generateRangeSet(
condition: DevExpress.Dashboard.Model.FormatConditionRangeSet,
type: DevExpress.Dashboard.Model.FormatConditionRangeSetPredefinedType
): void
static getGradientPredefinedType(
actualStyles: Array<DevExpress.Dashboard.Model.StyleSettingsBase>,
func: (type: DevExpress.Dashboard.Model.FormatConditionRangeGradientPredefinedType) => DevExpress.Dashboard.Model.FormatConditionRangeBase
): DevExpress.Dashboard.Model.FormatConditionRangeGradientPredefinedType
static getPredefinedType(
actualStyles: Array<DevExpress.Dashboard.Model.StyleSettingsBase>,
func: (type: DevExpress.Dashboard.Model.FormatConditionRangeSetPredefinedType) => DevExpress.Dashboard.Model.FormatConditionRangeBase
): DevExpress.Dashboard.Model.FormatConditionRangeSetPredefinedType