UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

301 lines (299 loc) 16.6 kB
import { PieChartSweepDirection } from "./PieChartSweepDirection"; import { CalloutCollisionMode } from "igniteui-angular-core"; import { LegendEmptyValuesMode } from "igniteui-angular-core"; import { OthersCategoryType } from "igniteui-angular-core"; import { AxisRangeBufferMode } from "./AxisRangeBufferMode"; import { RadialLabelMode } from "igniteui-angular-core"; import { CollisionAvoidanceType } from "./CollisionAvoidanceType"; import { IgxOthersCategoryContextComponent } from "./igx-others-category-context-component"; import { IgxRadialBaseChartComponent } from "./igx-radial-base-chart-component"; import { DataPieBaseChart } from "./DataPieBaseChart"; import * as i0 from "@angular/core"; /** * Represents a base class for PieBase chart control that can plot scatter data */ export declare abstract class IgxDataPieBaseChartComponent extends IgxRadialBaseChartComponent { /** * @hidden */ get i(): DataPieBaseChart; constructor(); /** * Gets or sets the label format for the slices. */ get sliceLabelFormat(): string; set sliceLabelFormat(v: string); /** * Gets or sets the format specifiers to use with the labels for the slices. */ get sliceLabelFormatSpecifiers(): any[]; set sliceLabelFormatSpecifiers(v: any[]); static ngAcceptInputType_sliceLabelFormatSpecifiers: any[] | string; /** * Gets or sets the label format for the LegendSlices. */ get legendSliceLabelFormat(): string; set legendSliceLabelFormat(v: string); /** * Gets or sets the format specifiers to use with the labels for the LegendSlices. */ get legendSliceLabelFormatSpecifiers(): any[]; set legendSliceLabelFormatSpecifiers(v: any[]); static ngAcceptInputType_legendSliceLabelFormatSpecifiers: any[] | string; /** * Gets or sets the label format for the OthersSlices. */ get othersSliceLabelFormat(): string; set othersSliceLabelFormat(v: string); /** * Gets or sets the format specifiers to use with the labels for the OthersSlices. */ get othersSliceLabelFormatSpecifiers(): any[]; set othersSliceLabelFormatSpecifiers(v: any[]); static ngAcceptInputType_othersSliceLabelFormatSpecifiers: any[] | string; /** * Gets or sets the label format for the LegendOthersSlices. */ get legendOthersSliceLabelFormat(): string; set legendOthersSliceLabelFormat(v: string); /** * Gets or sets the format specifiers to use with the labels for the LegendOthersSlices. */ get legendOthersSliceLabelFormatSpecifiers(): any[]; set legendOthersSliceLabelFormatSpecifiers(v: any[]); static ngAcceptInputType_legendOthersSliceLabelFormatSpecifiers: any[] | string; /** * Defines the percentage of the maximum radius extent to leave blank at the center of the chart. Should be * a value between 0.0 and 1.0. */ get innerExtent(): number; set innerExtent(v: number); static ngAcceptInputType_innerExtent: number | string; /** * Defines the percentage of the maximum radius extent to leave blank at the center of the chart. Should be * a value between 0.0 and 1.0. */ get sweepDirection(): PieChartSweepDirection; set sweepDirection(v: PieChartSweepDirection); static ngAcceptInputType_sweepDirection: PieChartSweepDirection | string; /** * Defines the positioning mode of the slice labels for the pie chart. */ get sliceLabelPositionMode(): CalloutCollisionMode; set sliceLabelPositionMode(v: CalloutCollisionMode); static ngAcceptInputType_sliceLabelPositionMode: CalloutCollisionMode | string; /** * Gets or sets the light color to use for slice labels. */ get lightSliceLabelColor(): string; set lightSliceLabelColor(v: string); /** * Gets or sets the Dark color to use for slice labels. */ get darkSliceLabelColor(): string; set darkSliceLabelColor(v: string); /** * Gets or sets the overridden value member path to use. */ get valueMemberPath(): string; set valueMemberPath(v: string); /** * Gets or sets the legend label member path to use. */ get legendLabelMemberPath(): string; set legendLabelMemberPath(v: string); get legendEmptyValuesMode(): LegendEmptyValuesMode; set legendEmptyValuesMode(v: LegendEmptyValuesMode); static ngAcceptInputType_legendEmptyValuesMode: LegendEmptyValuesMode | string; /** * Gets or sets whether to use numeric or percent-based threshold value. */ get othersCategoryType(): OthersCategoryType; set othersCategoryType(v: OthersCategoryType); static ngAcceptInputType_othersCategoryType: OthersCategoryType | string; /** * Gets or sets the threshold value that determines if slices are grouped into the Others slice. */ get othersCategoryThreshold(): number; set othersCategoryThreshold(v: number); static ngAcceptInputType_othersCategoryThreshold: number | string; /** * Gets or sets the label of the Others slice. */ get othersCategoryText(): string; set othersCategoryText(v: string); /** * Gets or sets the palette of brushes to use for coloring the chart series. */ get othersCategoryBrush(): string; set othersCategoryBrush(v: string); /** * Gets or sets the brush to use as the outline of the Others slice. */ get othersCategoryOutline(): string; set othersCategoryOutline(v: string); /** * Gets or sets the overridden value member path to use. */ get labelMemberPath(): string; set labelMemberPath(v: string); /** * Gets or sets whether the axis should favor emitting a label at the end of the scale. */ get valueAxisFavorLabellingScaleEnd(): boolean; set valueAxisFavorLabellingScaleEnd(v: boolean); static ngAcceptInputType_valueAxisFavorLabellingScaleEnd: boolean | string; /** * Gets or sets how the numeric axis will adjust its range buffer to less closely fix the data from the series. */ get valueAxisAutoRangeBufferMode(): AxisRangeBufferMode; set valueAxisAutoRangeBufferMode(v: AxisRangeBufferMode); static ngAcceptInputType_valueAxisAutoRangeBufferMode: AxisRangeBufferMode | string; /** * Gets or sets the frequency of displayed labels along the X-axis. * Gets or sets the set value is a factor that determines which labels will be hidden. For example, an interval of 2 will display every other label. */ get angleAxisInterval(): number; set angleAxisInterval(v: number); static ngAcceptInputType_angleAxisInterval: number | string; /** * Gets or sets the frequency of displayed minor lines along the X-axis. * Gets or sets the set value is a factor that determines how the minor lines will be displayed. */ get angleAxisMinorInterval(): number; set angleAxisMinorInterval(v: number); static ngAcceptInputType_angleAxisMinorInterval: number | string; /** * Gets or sets the distance between each label and grid line along the Y-axis. */ get valueAxisInterval(): number; set valueAxisInterval(v: number); static ngAcceptInputType_valueAxisInterval: number | string; /** * Gets or sets whether the Y-axis should use a logarithmic scale instead of a linear one. * Since log(-1) is imaginary and log(0) is undefined, it is recommended to enable this property only when the Y-axis minimum is greater than zero. */ get valueAxisIsLogarithmic(): boolean; set valueAxisIsLogarithmic(v: boolean); static ngAcceptInputType_valueAxisIsLogarithmic: boolean | string; /** * Gets or sets the base value to use in the log function when mapping the position of data items along the Y-axis. * This property is effective only when ValueAxisIsLogarithmic is true. */ get valueAxisLogarithmBase(): number; set valueAxisLogarithmBase(v: number); static ngAcceptInputType_valueAxisLogarithmBase: number | string; /** * Gets or sets the data value corresponding to the minimum value of the Y-axis. */ get valueAxisMinimumValue(): number; set valueAxisMinimumValue(v: number); static ngAcceptInputType_valueAxisMinimumValue: number | string; /** * Gets or sets the data value corresponding to the maximum value of the Y-axis. */ get valueAxisMaximumValue(): number; set valueAxisMaximumValue(v: number); static ngAcceptInputType_valueAxisMaximumValue: number | string; /** * Gets or sets the frequency of displayed minor lines along the Y-axis. */ get valueAxisMinorInterval(): number; set valueAxisMinorInterval(v: number); static ngAcceptInputType_valueAxisMinorInterval: number | string; /** * Gets the current minimum value for the Y-axis. */ get valueAxisActualMinimum(): number; static ngAcceptInputType_valueAxisActualMinimum: number | string; /** * Gets the current maximum value for the Y-axis. */ get valueAxisActualMaximum(): number; static ngAcceptInputType_valueAxisActualMaximum: number | string; /** * Gets or sets the extent of the chart's radius. Value between 0 and 1. */ get radiusExtent(): number; set radiusExtent(v: number); static ngAcceptInputType_radiusExtent: number | string; /** * Gets or sets the start angle to use for the pie chart measured in degrees from the positive x axis. */ get startAngle(): number; set startAngle(v: number); static ngAcceptInputType_startAngle: number | string; /** * Gets or sets the label of the Others slice. */ get sliceLabelContentSeparator(): string; set sliceLabelContentSeparator(v: string); /** * Gets or sets the label of the Others slice. */ get sliceLabelContentMode(): RadialLabelMode; set sliceLabelContentMode(v: RadialLabelMode); static ngAcceptInputType_sliceLabelContentMode: RadialLabelMode | string; /** * Gets or sets the label of the Others slice. */ get legendSliceLabelContentMode(): RadialLabelMode; set legendSliceLabelContentMode(v: RadialLabelMode); static ngAcceptInputType_legendSliceLabelContentMode: RadialLabelMode | string; /** * Gets or sets the x-radius of the ellipse that is used to round the corners of the slice. */ get radiusX(): number; set radiusX(v: number); static ngAcceptInputType_radiusX: number | string; /** * Gets or sets the y-radius of the ellipse that is used to round the corners of the slice. */ get radiusY(): number; set radiusY(v: number); static ngAcceptInputType_radiusY: number | string; /** * Gets or sets line thickness when the series is selected. */ get selectionThickness(): number; set selectionThickness(v: number); static ngAcceptInputType_selectionThickness: number | string; /** * Specifies that slice outlines should be drawn inside the slice rather than halfway * in and halfway out. */ get useInsetOutlines(): boolean; set useInsetOutlines(v: boolean); static ngAcceptInputType_useInsetOutlines: boolean | string; /** * Gets or sets whether to favor labelling the end of the scale. */ get angleAxisFavorLabellingScaleEnd(): boolean; set angleAxisFavorLabellingScaleEnd(v: boolean); static ngAcceptInputType_angleAxisFavorLabellingScaleEnd: boolean | string; /** * Gets or sets whether the large numbers on the Y-axis labels are abbreviated. */ get valueAxisAbbreviateLargeNumbers(): boolean; set valueAxisAbbreviateLargeNumbers(v: boolean); static ngAcceptInputType_valueAxisAbbreviateLargeNumbers: boolean | string; /** * Gets or sets collision avoidance between markers on series that support this behaviour. */ get markerCollision(): CollisionAvoidanceType; set markerCollision(v: CollisionAvoidanceType); static ngAcceptInputType_markerCollision: CollisionAvoidanceType | string; /** * Gets or sets whether the mouse leave event should fire when a manipulation is starting. */ get fireMouseLeaveOnManipulationStart(): boolean; set fireMouseLeaveOnManipulationStart(v: boolean); static ngAcceptInputType_fireMouseLeaveOnManipulationStart: boolean | string; findByName(name: string): any; /** * Gets the Others context which provides a current list of items in Others slice. */ getOthersContext(): IgxOthersCategoryContextComponent; static ɵfac: i0.ɵɵFactoryDeclaration<IgxDataPieBaseChartComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<IgxDataPieBaseChartComponent, "ng-component", never, { "sliceLabelFormat": { "alias": "sliceLabelFormat"; "required": false; }; "sliceLabelFormatSpecifiers": { "alias": "sliceLabelFormatSpecifiers"; "required": false; }; "legendSliceLabelFormat": { "alias": "legendSliceLabelFormat"; "required": false; }; "legendSliceLabelFormatSpecifiers": { "alias": "legendSliceLabelFormatSpecifiers"; "required": false; }; "othersSliceLabelFormat": { "alias": "othersSliceLabelFormat"; "required": false; }; "othersSliceLabelFormatSpecifiers": { "alias": "othersSliceLabelFormatSpecifiers"; "required": false; }; "legendOthersSliceLabelFormat": { "alias": "legendOthersSliceLabelFormat"; "required": false; }; "legendOthersSliceLabelFormatSpecifiers": { "alias": "legendOthersSliceLabelFormatSpecifiers"; "required": false; }; "innerExtent": { "alias": "innerExtent"; "required": false; }; "sweepDirection": { "alias": "sweepDirection"; "required": false; }; "sliceLabelPositionMode": { "alias": "sliceLabelPositionMode"; "required": false; }; "lightSliceLabelColor": { "alias": "lightSliceLabelColor"; "required": false; }; "darkSliceLabelColor": { "alias": "darkSliceLabelColor"; "required": false; }; "valueMemberPath": { "alias": "valueMemberPath"; "required": false; }; "legendLabelMemberPath": { "alias": "legendLabelMemberPath"; "required": false; }; "legendEmptyValuesMode": { "alias": "legendEmptyValuesMode"; "required": false; }; "othersCategoryType": { "alias": "othersCategoryType"; "required": false; }; "othersCategoryThreshold": { "alias": "othersCategoryThreshold"; "required": false; }; "othersCategoryText": { "alias": "othersCategoryText"; "required": false; }; "othersCategoryBrush": { "alias": "othersCategoryBrush"; "required": false; }; "othersCategoryOutline": { "alias": "othersCategoryOutline"; "required": false; }; "labelMemberPath": { "alias": "labelMemberPath"; "required": false; }; "valueAxisFavorLabellingScaleEnd": { "alias": "valueAxisFavorLabellingScaleEnd"; "required": false; }; "valueAxisAutoRangeBufferMode": { "alias": "valueAxisAutoRangeBufferMode"; "required": false; }; "angleAxisInterval": { "alias": "angleAxisInterval"; "required": false; }; "angleAxisMinorInterval": { "alias": "angleAxisMinorInterval"; "required": false; }; "valueAxisInterval": { "alias": "valueAxisInterval"; "required": false; }; "valueAxisIsLogarithmic": { "alias": "valueAxisIsLogarithmic"; "required": false; }; "valueAxisLogarithmBase": { "alias": "valueAxisLogarithmBase"; "required": false; }; "valueAxisMinimumValue": { "alias": "valueAxisMinimumValue"; "required": false; }; "valueAxisMaximumValue": { "alias": "valueAxisMaximumValue"; "required": false; }; "valueAxisMinorInterval": { "alias": "valueAxisMinorInterval"; "required": false; }; "radiusExtent": { "alias": "radiusExtent"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "sliceLabelContentSeparator": { "alias": "sliceLabelContentSeparator"; "required": false; }; "sliceLabelContentMode": { "alias": "sliceLabelContentMode"; "required": false; }; "legendSliceLabelContentMode": { "alias": "legendSliceLabelContentMode"; "required": false; }; "radiusX": { "alias": "radiusX"; "required": false; }; "radiusY": { "alias": "radiusY"; "required": false; }; "selectionThickness": { "alias": "selectionThickness"; "required": false; }; "useInsetOutlines": { "alias": "useInsetOutlines"; "required": false; }; "angleAxisFavorLabellingScaleEnd": { "alias": "angleAxisFavorLabellingScaleEnd"; "required": false; }; "valueAxisAbbreviateLargeNumbers": { "alias": "valueAxisAbbreviateLargeNumbers"; "required": false; }; "markerCollision": { "alias": "markerCollision"; "required": false; }; "fireMouseLeaveOnManipulationStart": { "alias": "fireMouseLeaveOnManipulationStart"; "required": false; }; }, {}, never, never, true, never>; }