igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
910 lines (904 loc) • 30.8 kB
JavaScript
import { HorizontalAlignment_$type } from "igniteui-webcomponents-core";
import { VerticalAlignment_$type } from "igniteui-webcomponents-core";
import { Visibility_$type } from "igniteui-webcomponents-core";
import { ValueAxisLabelLocation_$type } from "./ValueAxisLabelLocation";
import { AngleAxisLabelLocation_$type } from "./AngleAxisLabelLocation";
import { IgcDomainChartComponent } from "./igc-domain-chart-component";
import { getAllPropertyNames, toSpinal, brushToString, stringToBrush, ensureBool, ensureEnum, enumToString, arrayFindByName } from "igniteui-webcomponents-core";
/**
* Represents a base class for domain charts with X/Y axes
*/
export let IgcRadialBaseChartComponent = /*@__PURE__*/ (() => {
class IgcRadialBaseChartComponent extends IgcDomainChartComponent {
/**
* @hidden
*/
get i() {
return this._implementation;
}
constructor() {
super();
}
connectedCallback() {
if (super["connectedCallback"]) {
super["connectedCallback"]();
}
if (this.i.connectedCallback) {
this.i.connectedCallback();
}
if (!this._attached) {
this._attached = true;
this._flushQueuedAttributes();
}
}
disconnectedCallback() {
if (super["disconnectedCallback"]) {
super["disconnectedCallback"]();
}
if (this.i.disconnectedCallback) {
this.i.disconnectedCallback();
}
if (this._attached) {
this._attached = false;
}
}
static get observedAttributes() {
if (IgcRadialBaseChartComponent._observedAttributesIgcRadialBaseChartComponent == null) {
let names = getAllPropertyNames(IgcRadialBaseChartComponent);
for (let i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcRadialBaseChartComponent._observedAttributesIgcRadialBaseChartComponent = names;
}
return IgcRadialBaseChartComponent._observedAttributesIgcRadialBaseChartComponent;
}
/**
* Gets or sets function which takes an context object and returns a formatted label for the X-axis.
*/
get angleAxisFormatLabel() {
return this.i.aa0;
}
set angleAxisFormatLabel(v) {
this.i.aa0 = v;
}
/**
* Gets or sets function which takes a context object and returns a formatted label for the Y-axis.
*/
get valueAxisFormatLabel() {
return this.i.aa1;
}
set valueAxisFormatLabel(v) {
this.i.aa1 = v;
}
/**
* Gets or sets the left margin of labels on the X-axis
*/
get angleAxisLabelLeftMargin() {
return this.i.acf;
}
set angleAxisLabelLeftMargin(v) {
this.i.acf = +v;
this._a("angleAxisLabelLeftMargin", this.i.acf);
}
/**
* Gets or sets the top margin of labels on the X-axis
*/
get angleAxisLabelTopMargin() {
return this.i.ach;
}
set angleAxisLabelTopMargin(v) {
this.i.ach = +v;
this._a("angleAxisLabelTopMargin", this.i.ach);
}
/**
* Gets or sets the right margin of labels on the X-axis
*/
get angleAxisLabelRightMargin() {
return this.i.acg;
}
set angleAxisLabelRightMargin(v) {
this.i.acg = +v;
this._a("angleAxisLabelRightMargin", this.i.acg);
}
/**
* Gets or sets the bottom margin of labels on the X-axis
*/
get angleAxisLabelBottomMargin() {
return this.i.ace;
}
set angleAxisLabelBottomMargin(v) {
this.i.ace = +v;
this._a("angleAxisLabelBottomMargin", this.i.ace);
}
/**
* Gets or sets the left margin of labels on the Y-axis
*/
get valueAxisLabelLeftMargin() {
return this.i.ac2;
}
set valueAxisLabelLeftMargin(v) {
this.i.ac2 = +v;
this._a("valueAxisLabelLeftMargin", this.i.ac2);
}
/**
* Gets or sets the top margin of labels on the Y-axis
*/
get valueAxisLabelTopMargin() {
return this.i.ac4;
}
set valueAxisLabelTopMargin(v) {
this.i.ac4 = +v;
this._a("valueAxisLabelTopMargin", this.i.ac4);
}
/**
* Gets or sets the right margin of labels on the Y-axis
*/
get valueAxisLabelRightMargin() {
return this.i.ac3;
}
set valueAxisLabelRightMargin(v) {
this.i.ac3 = +v;
this._a("valueAxisLabelRightMargin", this.i.ac3);
}
/**
* Gets or sets the bottom margin of labels on the Y-axis
*/
get valueAxisLabelBottomMargin() {
return this.i.ac1;
}
set valueAxisLabelBottomMargin(v) {
this.i.ac1 = +v;
this._a("valueAxisLabelBottomMargin", this.i.ac1);
}
/**
* Gets or sets color of labels on the X-axis
*/
get angleAxisLabelTextColor() {
return brushToString(this.i.ahf);
}
set angleAxisLabelTextColor(v) {
this.i.ahf = stringToBrush(v);
this._a("angleAxisLabelTextColor", brushToString(this.i.ahf));
}
/**
* Gets or sets color of labels on the Y-axis
*/
get valueAxisLabelTextColor() {
return brushToString(this.i.ahm);
}
set valueAxisLabelTextColor(v) {
this.i.ahm = stringToBrush(v);
this._a("valueAxisLabelTextColor", brushToString(this.i.ahm));
}
/**
* Gets the actual color of labels on the X-axis
*/
get actualAngleAxisLabelTextColor() {
return brushToString(this.i.ahd);
}
set actualAngleAxisLabelTextColor(v) {
this.i.ahd = stringToBrush(v);
this._a("actualAngleAxisLabelTextColor", brushToString(this.i.ahd));
}
/**
* Gets the actual color of labels on the Y-axis
*/
get actualValueAxisLabelTextColor() {
return brushToString(this.i.ahe);
}
set actualValueAxisLabelTextColor(v) {
this.i.ahe = stringToBrush(v);
this._a("actualValueAxisLabelTextColor", brushToString(this.i.ahe));
}
/**
* Gets or sets the margin around a title on the X-axis
*/
get angleAxisTitleMargin() {
return this.i.acs;
}
set angleAxisTitleMargin(v) {
this.i.acs = +v;
this._a("angleAxisTitleMargin", this.i.acs);
}
/**
* Gets or sets the margin around a title on the Y-axis
*/
get valueAxisTitleMargin() {
return this.i.adf;
}
set valueAxisTitleMargin(v) {
this.i.adf = +v;
this._a("valueAxisTitleMargin", this.i.adf);
}
/**
* Gets or sets the left margin of a title on the X-axis
*/
get angleAxisTitleLeftMargin() {
return this.i.acr;
}
set angleAxisTitleLeftMargin(v) {
this.i.acr = +v;
this._a("angleAxisTitleLeftMargin", this.i.acr);
}
/**
* Gets or sets the left margin of a title on the Y-axis
*/
get valueAxisTitleLeftMargin() {
return this.i.ade;
}
set valueAxisTitleLeftMargin(v) {
this.i.ade = +v;
this._a("valueAxisTitleLeftMargin", this.i.ade);
}
/**
* Gets or sets the top margin of a title on the X-axis
*/
get angleAxisTitleTopMargin() {
return this.i.acu;
}
set angleAxisTitleTopMargin(v) {
this.i.acu = +v;
this._a("angleAxisTitleTopMargin", this.i.acu);
}
/**
* Gets or sets the top margin of a title on the Y-axis
*/
get valueAxisTitleTopMargin() {
return this.i.adh;
}
set valueAxisTitleTopMargin(v) {
this.i.adh = +v;
this._a("valueAxisTitleTopMargin", this.i.adh);
}
/**
* Gets or sets the right margin of a title on the X-axis
*/
get angleAxisTitleRightMargin() {
return this.i.act;
}
set angleAxisTitleRightMargin(v) {
this.i.act = +v;
this._a("angleAxisTitleRightMargin", this.i.act);
}
/**
* Gets or sets the right margin of a title on the Y-axis
*/
get valueAxisTitleRightMargin() {
return this.i.adg;
}
set valueAxisTitleRightMargin(v) {
this.i.adg = +v;
this._a("valueAxisTitleRightMargin", this.i.adg);
}
/**
* Gets or sets the bottom margin of a title on the X-axis
*/
get angleAxisTitleBottomMargin() {
return this.i.acq;
}
set angleAxisTitleBottomMargin(v) {
this.i.acq = +v;
this._a("angleAxisTitleBottomMargin", this.i.acq);
}
/**
* Gets or sets the bottom margin of a title on the Y-axis
*/
get valueAxisTitleBottomMargin() {
return this.i.add;
}
set valueAxisTitleBottomMargin(v) {
this.i.add = +v;
this._a("valueAxisTitleBottomMargin", this.i.add);
}
/**
* Gets or sets color of title on the X-axis
*/
get angleAxisTitleTextColor() {
return brushToString(this.i.ahl);
}
set angleAxisTitleTextColor(v) {
this.i.ahl = stringToBrush(v);
this._a("angleAxisTitleTextColor", brushToString(this.i.ahl));
}
/**
* Gets or sets color of title on the Y-axis
*/
get valueAxisTitleTextColor() {
return brushToString(this.i.ahs);
}
set valueAxisTitleTextColor(v) {
this.i.ahs = stringToBrush(v);
this._a("valueAxisTitleTextColor", brushToString(this.i.ahs));
}
/**
* Gets or sets CSS font property for labels on X-axis
*/
get angleAxisLabelTextStyle() {
return this.i.aea;
}
set angleAxisLabelTextStyle(v) {
this.i.aea = v;
}
/**
* Gets or sets CSS font property for labels on Y-axis
*/
get valueAxisLabelTextStyle() {
return this.i.afi;
}
set valueAxisLabelTextStyle(v) {
this.i.afi = v;
}
/**
* Gets or sets CSS font property for title on X-axis
*/
get angleAxisTitleTextStyle() {
return this.i.ae0;
}
set angleAxisTitleTextStyle(v) {
this.i.ae0 = v;
}
/**
* Gets or sets CSS font property for title on Y-axis
*/
get valueAxisTitleTextStyle() {
return this.i.af8;
}
set valueAxisTitleTextStyle(v) {
this.i.af8 = v;
}
/**
* Gets or sets the format for labels along the X-axis.
*/
get angleAxisLabel() {
return this.i.adk;
}
set angleAxisLabel(v) {
this.i.adk = v;
}
/**
* Gets or sets the property or string from which the labels are derived.
*/
get valueAxisLabel() {
return this.i.adl;
}
set valueAxisLabel(v) {
this.i.adl = v;
}
/**
* Gets or sets the color to apply to major gridlines along the X-axis.
*/
get angleAxisMajorStroke() {
return brushToString(this.i.ahg);
}
set angleAxisMajorStroke(v) {
this.i.ahg = stringToBrush(v);
this._a("angleAxisMajorStroke", brushToString(this.i.ahg));
}
/**
* Gets or sets the color to apply to major gridlines along the Y-axis.
*/
get valueAxisMajorStroke() {
return brushToString(this.i.ahn);
}
set valueAxisMajorStroke(v) {
this.i.ahn = stringToBrush(v);
this._a("valueAxisMajorStroke", brushToString(this.i.ahn));
}
/**
* Gets or sets the thickness to apply to major gridlines along the X-axis.
*/
get angleAxisMajorStrokeThickness() {
return this.i.aci;
}
set angleAxisMajorStrokeThickness(v) {
this.i.aci = +v;
this._a("angleAxisMajorStrokeThickness", this.i.aci);
}
/**
* Gets or sets the thickness to apply to major gridlines along the Y-axis.
*/
get valueAxisMajorStrokeThickness() {
return this.i.ac5;
}
set valueAxisMajorStrokeThickness(v) {
this.i.ac5 = +v;
this._a("valueAxisMajorStrokeThickness", this.i.ac5);
}
/**
* Gets or sets the thickness to apply to minor gridlines along the X-axis.
*/
get angleAxisMinorStrokeThickness() {
return this.i.acl;
}
set angleAxisMinorStrokeThickness(v) {
this.i.acl = +v;
this._a("angleAxisMinorStrokeThickness", this.i.acl);
}
/**
* Gets or sets the thickness to apply to minor gridlines along the Y-axis.
*/
get valueAxisMinorStrokeThickness() {
return this.i.ac8;
}
set valueAxisMinorStrokeThickness(v) {
this.i.ac8 = +v;
this._a("valueAxisMinorStrokeThickness", this.i.ac8);
}
/**
* Gets or sets the color to apply to stripes along the X-axis.
*/
get angleAxisStrip() {
return brushToString(this.i.ahi);
}
set angleAxisStrip(v) {
this.i.ahi = stringToBrush(v);
this._a("angleAxisStrip", brushToString(this.i.ahi));
}
/**
* Gets or sets the color to apply to stripes along the Y-axis.
*/
get valueAxisStrip() {
return brushToString(this.i.ahp);
}
set valueAxisStrip(v) {
this.i.ahp = stringToBrush(v);
this._a("valueAxisStrip", brushToString(this.i.ahp));
}
/**
* Gets or sets the color to apply to the X-axis line.
*/
get angleAxisStroke() {
return brushToString(this.i.ahj);
}
set angleAxisStroke(v) {
this.i.ahj = stringToBrush(v);
this._a("angleAxisStroke", brushToString(this.i.ahj));
}
/**
* Gets or sets the color to apply to the Y-axis line.
*/
get valueAxisStroke() {
return brushToString(this.i.ahq);
}
set valueAxisStroke(v) {
this.i.ahq = stringToBrush(v);
this._a("valueAxisStroke", brushToString(this.i.ahq));
}
/**
* Gets or sets the thickness to apply to the X-axis line.
*/
get angleAxisStrokeThickness() {
return this.i.acm;
}
set angleAxisStrokeThickness(v) {
this.i.acm = +v;
this._a("angleAxisStrokeThickness", this.i.acm);
}
/**
* Gets or sets the thickness to apply to the Y-axis line.
*/
get valueAxisStrokeThickness() {
return this.i.ac9;
}
set valueAxisStrokeThickness(v) {
this.i.ac9 = +v;
this._a("valueAxisStrokeThickness", this.i.ac9);
}
/**
* Gets or sets the length of tickmarks along the X-axis.
*/
get angleAxisTickLength() {
return this.i.acn;
}
set angleAxisTickLength(v) {
this.i.acn = +v;
this._a("angleAxisTickLength", this.i.acn);
}
/**
* Gets or sets the length of tickmarks along the Y-axis.
*/
get valueAxisTickLength() {
return this.i.ada;
}
set valueAxisTickLength(v) {
this.i.ada = +v;
this._a("valueAxisTickLength", this.i.ada);
}
/**
* Gets or sets the color to apply to tickmarks along the X-axis.
*/
get angleAxisTickStroke() {
return brushToString(this.i.ahk);
}
set angleAxisTickStroke(v) {
this.i.ahk = stringToBrush(v);
this._a("angleAxisTickStroke", brushToString(this.i.ahk));
}
/**
* Gets or sets the color to apply to tickmarks along the Y-axis.
*/
get valueAxisTickStroke() {
return brushToString(this.i.ahr);
}
set valueAxisTickStroke(v) {
this.i.ahr = stringToBrush(v);
this._a("valueAxisTickStroke", brushToString(this.i.ahr));
}
/**
* Gets or sets the thickness to apply to tickmarks along the X-axis.
*/
get angleAxisTickStrokeThickness() {
return this.i.aco;
}
set angleAxisTickStrokeThickness(v) {
this.i.aco = +v;
this._a("angleAxisTickStrokeThickness", this.i.aco);
}
/**
* Gets or sets the thickness to apply to tickmarks along the Y-axis.
*/
get valueAxisTickStrokeThickness() {
return this.i.adb;
}
set valueAxisTickStrokeThickness(v) {
this.i.adb = +v;
this._a("valueAxisTickStrokeThickness", this.i.adb);
}
/**
* Gets or sets the Text to display below the X-axis.
*/
get angleAxisTitle() {
return this.i.aer;
}
set angleAxisTitle(v) {
this.i.aer = v;
}
/**
* Gets or sets the Text to display to the left of the Y-axis.
*/
get valueAxisTitle() {
return this.i.afz;
}
set valueAxisTitle(v) {
this.i.afz = v;
}
/**
* Gets or sets the color to apply to minor gridlines along the X-axis.
*/
get angleAxisMinorStroke() {
return brushToString(this.i.ahh);
}
set angleAxisMinorStroke(v) {
this.i.ahh = stringToBrush(v);
this._a("angleAxisMinorStroke", brushToString(this.i.ahh));
}
/**
* Gets or sets the color to apply to minor gridlines along the Y-axis.
*/
get valueAxisMinorStroke() {
return brushToString(this.i.aho);
}
set valueAxisMinorStroke(v) {
this.i.aho = stringToBrush(v);
this._a("valueAxisMinorStroke", brushToString(this.i.aho));
}
/**
* Gets or sets the angle of rotation for labels along the X-axis.
*/
get angleAxisLabelAngle() {
return this.i.acd;
}
set angleAxisLabelAngle(v) {
this.i.acd = +v;
this._a("angleAxisLabelAngle", this.i.acd);
}
/**
* Gets or sets the angle of rotation for labels along the Y-axis.
*/
get valueAxisLabelAngle() {
return this.i.ac0;
}
set valueAxisLabelAngle(v) {
this.i.ac0 = +v;
this._a("valueAxisLabelAngle", this.i.ac0);
}
/**
* Gets or sets the distance between the X-axis and the bottom of the chart.
*/
get angleAxisExtent() {
return this.i.acc;
}
set angleAxisExtent(v) {
this.i.acc = +v;
this._a("angleAxisExtent", this.i.acc);
}
/**
* Gets or sets the maximum distance between the X-axis and the bottom of the chart.
*/
get angleAxisMaximumExtent() {
return this.i.acj;
}
set angleAxisMaximumExtent(v) {
this.i.acj = +v;
this._a("angleAxisMaximumExtent", this.i.acj);
}
/**
* Gets or sets the maximum width between the X-axis and the bottom of the chart, as a percentage of total chart width.
*/
get angleAxisMaximumExtentPercentage() {
return this.i.ack;
}
set angleAxisMaximumExtentPercentage(v) {
this.i.ack = +v;
this._a("angleAxisMaximumExtentPercentage", this.i.ack);
}
/**
* Gets or sets the distance between the Y-axis and the left edge of the chart.
*/
get valueAxisExtent() {
return this.i.acz;
}
set valueAxisExtent(v) {
this.i.acz = +v;
this._a("valueAxisExtent", this.i.acz);
}
/**
* Gets or sets the distance between the Y-axis and the left edge of the chart.
*/
get valueAxisMaximumExtent() {
return this.i.ac6;
}
set valueAxisMaximumExtent(v) {
this.i.ac6 = +v;
this._a("valueAxisMaximumExtent", this.i.ac6);
}
/**
* Gets or sets the distance between the Y-axis and the left edge of the chart.
*/
get valueAxisMaximumExtentPercentage() {
return this.i.ac7;
}
set valueAxisMaximumExtentPercentage(v) {
this.i.ac7 = +v;
this._a("valueAxisMaximumExtentPercentage", this.i.ac7);
}
/**
* Gets or sets the angle of rotation for the X-axis title.
*/
get angleAxisTitleAngle() {
return this.i.acp;
}
set angleAxisTitleAngle(v) {
this.i.acp = +v;
this._a("angleAxisTitleAngle", this.i.acp);
}
/**
* Gets or sets the angle of rotation for the Y-axis title.
*/
get valueAxisTitleAngle() {
return this.i.adc;
}
set valueAxisTitleAngle(v) {
this.i.adc = +v;
this._a("valueAxisTitleAngle", this.i.adc);
}
/**
* Gets or sets whether to invert the direction of the X-axis by placing the first data items on the right side of the chart.
*/
get angleAxisInverted() {
return this.i.aa8;
}
set angleAxisInverted(v) {
this.i.aa8 = ensureBool(v);
this._a("angleAxisInverted", this.i.aa8);
}
/**
* Gets or sets whether to invert the direction of the Y-axis by placing the minimum numeric value at the top of the chart.
*/
get valueAxisInverted() {
return this.i.aa9;
}
set valueAxisInverted(v) {
this.i.aa9 = ensureBool(v);
this._a("valueAxisInverted", this.i.aa9);
}
/**
* Gets or sets Horizontal alignment of the X-axis title.
*/
get angleAxisTitleAlignment() {
return this.i.agv;
}
set angleAxisTitleAlignment(v) {
this.i.agv = ensureEnum(HorizontalAlignment_$type, v);
this._a("angleAxisTitleAlignment", enumToString(HorizontalAlignment_$type, this.i.agv));
}
/**
* Gets or sets Vertical alignment of the Y-axis title.
*/
get valueAxisTitleAlignment() {
return this.i.ahy;
}
set valueAxisTitleAlignment(v) {
this.i.ahy = ensureEnum(VerticalAlignment_$type, v);
this._a("valueAxisTitleAlignment", enumToString(VerticalAlignment_$type, this.i.ahy));
}
/**
* Gets or sets Horizontal alignment of X-axis labels.
*/
get angleAxisLabelHorizontalAlignment() {
return this.i.agu;
}
set angleAxisLabelHorizontalAlignment(v) {
this.i.agu = ensureEnum(HorizontalAlignment_$type, v);
this._a("angleAxisLabelHorizontalAlignment", enumToString(HorizontalAlignment_$type, this.i.agu));
}
/**
* Gets or sets Horizontal alignment of Y-axis labels.
*/
get valueAxisLabelHorizontalAlignment() {
return this.i.agw;
}
set valueAxisLabelHorizontalAlignment(v) {
this.i.agw = ensureEnum(HorizontalAlignment_$type, v);
this._a("valueAxisLabelHorizontalAlignment", enumToString(HorizontalAlignment_$type, this.i.agw));
}
/**
* Gets or sets Vertical alignment of X-axis labels.
*/
get angleAxisLabelVerticalAlignment() {
return this.i.ahw;
}
set angleAxisLabelVerticalAlignment(v) {
this.i.ahw = ensureEnum(VerticalAlignment_$type, v);
this._a("angleAxisLabelVerticalAlignment", enumToString(VerticalAlignment_$type, this.i.ahw));
}
/**
* Gets or sets Vertical alignment of Y-axis labels.
*/
get valueAxisLabelVerticalAlignment() {
return this.i.ahx;
}
set valueAxisLabelVerticalAlignment(v) {
this.i.ahx = ensureEnum(VerticalAlignment_$type, v);
this._a("valueAxisLabelVerticalAlignment", enumToString(VerticalAlignment_$type, this.i.ahx));
}
/**
* Gets or sets Visibility of X-axis labels.
*/
get angleAxisLabelVisibility() {
return this.i.ah1;
}
set angleAxisLabelVisibility(v) {
this.i.ah1 = ensureEnum(Visibility_$type, v);
this._a("angleAxisLabelVisibility", enumToString(Visibility_$type, this.i.ah1));
}
/**
* Gets or sets Visibility of Y-axis labels.
*/
get valueAxisLabelVisibility() {
return this.i.ah2;
}
set valueAxisLabelVisibility(v) {
this.i.ah2 = ensureEnum(Visibility_$type, v);
this._a("valueAxisLabelVisibility", enumToString(Visibility_$type, this.i.ah2));
}
/**
* Gets or sets location of Y-axis labels, relative to the plot area.
*/
get valueAxisLabelLocation() {
return this.i.aa5;
}
set valueAxisLabelLocation(v) {
this.i.aa5 = ensureEnum(ValueAxisLabelLocation_$type, v);
this._a("valueAxisLabelLocation", enumToString(ValueAxisLabelLocation_$type, this.i.aa5));
}
/**
* Gets or sets location of X-axis labels, relative to the plot area.
*/
get angleAxisLabelLocation() {
return this.i.aav;
}
set angleAxisLabelLocation(v) {
this.i.aav = ensureEnum(AngleAxisLabelLocation_$type, v);
this._a("angleAxisLabelLocation", enumToString(AngleAxisLabelLocation_$type, this.i.aav));
}
/**
* Gets or sets the format string for the X axis label.
*/
get angleAxisLabelFormat() {
return this.i.ad1;
}
set angleAxisLabelFormat(v) {
this.i.ad1 = v;
}
/**
* Gets or sets the format specifiers to use with the AngleAxisLabelFormat string.
*/
get angleAxisLabelFormatSpecifiers() {
return this.i.aas;
}
set angleAxisLabelFormatSpecifiers(v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
const re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aas = v;
}
/**
* Gets or sets the format string for the Y axis label.
*/
get valueAxisLabelFormat() {
return this.i.ae9;
}
set valueAxisLabelFormat(v) {
this.i.ae9 = v;
}
/**
* Gets or sets the format specifiers to use with the ValueAxisLabelFormat string.
*/
get valueAxisLabelFormatSpecifiers() {
return this.i.aat;
}
set valueAxisLabelFormatSpecifiers(v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
const re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aat = v;
}
findByName(name) {
var baseResult = super.findByName(name);
if (baseResult) {
return baseResult;
}
if (this.angleAxisLabelFormatSpecifiers != null && arrayFindByName(this.angleAxisLabelFormatSpecifiers, name)) {
return arrayFindByName(this.angleAxisLabelFormatSpecifiers, name);
}
if (this.valueAxisLabelFormatSpecifiers != null && arrayFindByName(this.valueAxisLabelFormatSpecifiers, name)) {
return arrayFindByName(this.valueAxisLabelFormatSpecifiers, name);
}
return null;
}
/**
* Called by the UI framework to provide a UI container for rendering this control.
* @param container * The UI container element.
*/
provideContainer(container) {
this.i.provideContainer(container);
}
/**
* Converts the given visual location to a data value.
* @param unscaledValue * The x-coordinate of the location to scale.
*/
getScaledAngle(unscaledValue) {
let iv = this.i.acv(unscaledValue);
return (iv);
}
/**
* Converts the given data value to a visual location.
* @param scaledValue * The data value to un-scale.
*/
getUnscaledAngle(scaledValue) {
let iv = this.i.acx(scaledValue);
return (iv);
}
/**
* Converts the given visual location to a data value.
* @param unscaledValue * The y-coordinate of the location to scale.
*/
getScaledValue(unscaledValue) {
let iv = this.i.acw(unscaledValue);
return (iv);
}
/**
* Converts the given data value to a visual location.
* @param scaledValue * The data value to un-scale.
*/
getUnscaledValue(scaledValue) {
let iv = this.i.acy(scaledValue);
return (iv);
}
}
IgcRadialBaseChartComponent._observedAttributesIgcRadialBaseChartComponent = null;
return IgcRadialBaseChartComponent;
})();