igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
869 lines (868 loc) • 31.3 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { CategorySeries } from "./CategorySeries";
import { IIsCategoryBased_$type } from "./IIsCategoryBased";
import { IHasSingleValueCategory_$type } from "./IHasSingleValueCategory";
import { IHasCategoryTrendline_$type } from "./IHasCategoryTrendline";
import { ITrendLineSeries_$type } from "./ITrendLineSeries";
import { IAnchoredCategorySeriesInteractionManager_$type } from "./IAnchoredCategorySeriesInteractionManager";
import { DVContainer } from "igniteui-angular-core";
import { Point_$type, enumGetBox, typeCast, runOn, delegateCombine, markType, markDep } from "igniteui-angular-core";
import { DependencyProperty } from "igniteui-angular-core";
import { Series } from "./Series";
import { TrendLineType_$type } from "igniteui-angular-core";
import { Brush } from "igniteui-angular-core";
import { PenLineCap_$type } from "igniteui-angular-core";
import { DoubleCollection } from "igniteui-angular-core";
import { CategoryFrame } from "./CategoryFrame";
import { ICategoryScaler_$type } from "./ICategoryScaler";
import { IScaler_$type } from "./IScaler";
import { CategorySeriesView } from "./CategorySeriesView";
import { CategorySeriesMarkerCollisionAvoidance_$type } from "./CategorySeriesMarkerCollisionAvoidance";
import { ConsolidatedItemHitTestBehavior_$type } from "./ConsolidatedItemHitTestBehavior";
import { CategoryFramePreparer } from "./CategoryFramePreparer";
import { DataLegendSeriesValueInfo } from "igniteui-angular-core";
import { DataLegendSeriesContext } from "igniteui-angular-core";
import { List$1 } from "igniteui-angular-core";
import { Rect } from "igniteui-angular-core";
import { ISortingAxis_$type } from "./ISortingAxis";
import { IFastItemsSource_$type } from "igniteui-angular-core";
import { NumericAxisBase } from "./NumericAxisBase";
import { CategoryBucketCalculator } from "./CategoryBucketCalculator";
import { AxisRange } from "./AxisRange";
import { NumericYAxis } from "./NumericYAxis";
import { ScalerParams } from "./ScalerParams";
import { SeriesLayerPropertyOverlay } from "./SeriesLayerPropertyOverlay";
import { CategoryMarkerManager } from "./CategoryMarkerManager";
import { CollisionAvoider } from "./CollisionAvoider";
import { NonCollisionAvoider } from "./NonCollisionAvoider";
import { CategoryAxisBase } from "./CategoryAxisBase";
import { ChartSelection } from "./ChartSelection";
import { CategoryTrendLineManagerFactory } from "./CategoryTrendLineManagerFactory";
import { PropertyMetadata } from "igniteui-angular-core";
import { truncate, isNaN_, isInfinity } from "igniteui-angular-core";
/**
* @hidden
*/
export let AnchoredCategorySeries = /*@__PURE__*/ (() => {
class AnchoredCategorySeries extends CategorySeries {
constructor() {
super();
this.abl = null;
this.abs = false;
this.abn = null;
this.abi = null;
this.abz = null;
this.aby = null;
this.abp = true;
this.abt = 0;
this.abu = 0;
this.zj = new CategoryFramePreparer(1, this, this.zn, this, this, this.zn.c9);
}
get abm() {
if (this.abl == null) {
this.abl = DVContainer.instance.createInstance(IAnchoredCategorySeriesInteractionManager_$type, () => this.ds.n);
}
return this.abl;
}
getHostReferenceValue() {
return this.i5();
}
mp() {
return AnchoredCategorySeries.$$p[5];
}
ct() {
let a = new AnchoredCategorySeriesView(this);
return a;
}
rg(a) {
super.rg(a);
this.abh = a;
}
kz(a, b) {
let c = this.no(b);
if (c == AnchoredCategorySeries.$$p[5]) {
return this.k0(a, b, this.ab9);
}
if (c == AnchoredCategorySeries.$$p[1]) {
return this.k0(a, b, this.ab1);
}
return super.kz(a, b);
}
mo(a) {
let b = this.no(a);
if (b == AnchoredCategorySeries.$$p[5]) {
return this.ab9;
}
if (b == AnchoredCategorySeries.$$p[1]) {
return this.ab1;
}
return super.mo(a);
}
get valueColumn() {
return this.abn;
}
set valueColumn(a) {
if (this.abn != a) {
let b = this.abn;
this.abn = a;
if (!this.abs) {
this.raisePropertyChanged("ValueColumn", b, this.abn);
}
}
}
getDataLegendSeriesContextAt(a, b) {
let c = new DataLegendSeriesValueInfo();
c.a = 0;
c.l = this.jd({ $type: Point_$type, x: a, y: b }, false, false);
c.r = this.ab9 != null ? this.ab9 : "Value";
c.q = "Value";
c.s = this.ab5 != null ? this.ab5 : "V:";
c.t = this.ab7 != null ? this.ab7 : "";
let d = new DataLegendSeriesContext();
d.e = ((() => {
let $ret = new List$1(DataLegendSeriesValueInfo.$, 0);
$ret.add(c);
return $ret;
})());
d.h = this.mn();
return d;
}
get acw() {
return this.c(AnchoredCategorySeries.aci);
}
set acw(a) {
this.h(AnchoredCategorySeries.aci, a);
}
gj(a) {
let b = new Rect(0, 0, 0, 1, 1);
let c = this.fetchXAxis();
let d = this.fetchYAxis();
let e = this.w5(this.cw);
let f = c != null ? this.zj.r(typeCast(ICategoryScaler_$type, c), b, b, e) : 0;
return this.abm.c$a(this, this.valueColumn, c, d, f, a);
}
abe(a, b, c) {
if (b < a || a < 0 || a > this.valueColumn.count || b < 0 || b > this.valueColumn.count || c == null) {
return null;
}
let d = new Array((b - a) + 1);
let e = c.dv;
let f = null;
if (e) {
f = c.i$b;
}
for (let g = a; g <= b; g++) {
let h = g;
if (e) {
h = f._inner[h];
}
d[g - a] = this.dp.item(g);
}
return d;
}
rp(a, b, c, d) {
super.rp(a, b, c, d);
if (this.abh.dl && this.abh.dk.g$e(a, b, c, d)) {
let e = false;
if (b == "FastItemsSource") {
e = this.gm && c != null;
}
this.r7(e);
this.qz();
}
switch (b) {
case AnchoredCategorySeries.$$p[3]:
case AnchoredCategorySeries.$$p[4]:
this.qt();
break;
case "FastItemsSource":
if (typeCast(IFastItemsSource_$type, c) != null) {
c.deregisterColumn(this.valueColumn);
this.valueColumn = null;
}
if (typeCast(IFastItemsSource_$type, d) != null) {
this.valueColumn = this.dl(this.ab9);
}
let f = typeCast(NumericAxisBase.$, this.fetchYAxis());
if (f != null && !f.ec()) {
this.abh.c9.g(this.ik);
this.r7(this.gm && c != null);
}
break;
case AnchoredCategorySeries.$$p[5]:
if (this.dp != null) {
this.dp.deregisterColumn(this.valueColumn);
this.valueColumn = this.dl(this.ab9);
}
this.abz = this.ab9;
break;
case AnchoredCategorySeries.$$p[1]:
this.aby = this.ab1;
this.r7(true);
break;
case "ValueColumn":
if (this.abh.dl) {
this.abh.dk.g$m();
}
for (let g = 0; g < this.abh.aa.count; g++) {
let h = this.abh.aa._inner[g];
h.g$m();
}
let i = typeCast(NumericAxisBase.$, this.fetchYAxis());
if (i != null && !i.ec()) {
this.abh.c9.g(this.ik);
this.r7(this.gm && this.d9);
}
this.ach();
this.s4();
break;
case "TrendLineBrush":
this.rv(b);
break;
case "ErrorBarSettings":
this.r7(false);
break;
case "TrendLineType":
this.qz();
if (this.abh.dl) {
this.abh.dk.g$b = this.trendLineType;
}
break;
case "TrendLinePeriod":
if (this.abh.dl) {
this.abh.dk.g$f = this.trendLinePeriod;
}
break;
case AnchoredCategorySeries.$$p[2]:
this.r7(false);
break;
}
}
ay(a) {
if (this.valueColumn == null || this.valueColumn.count == 0) {
return null;
}
if (a == this.fetchXAxis()) {
return new AxisRange(0, this.valueColumn.count - 1);
}
if (a == this.fetchYAxis()) {
return new AxisRange(this.valueColumn.minimum, this.valueColumn.maximum);
}
return null;
}
pn(a, b, c, d) {
switch (a) {
case 4:
case 1:
case 0:
this.abh.c9.g(this.ik);
break;
}
if (this.abh.dl) {
this.abh.dk.g$i(a, b, c, d);
}
for (let e = 0; e < this.abh.aa.count; e++) {
let f = this.abh.aa._inner[e];
f.g$i(a, b, c, d);
}
this.ach();
this.s4();
if (a == 0 || a == 2 || a == 3 || a == 4) {
this.abp = true;
}
else if (a == 1) {
for (let g = b; g < b + c; g++) {
this.abt += this.valueColumn.item(g);
}
this.abu = this.abt / this.valueColumn.count;
}
}
aae() {
return this.abv(this.zn);
}
abv(a) {
let b = 0;
let c = a.ca;
let d = a.b9;
let e = this.getEffectiveViewport1(a);
let f = typeCast(NumericYAxis.$, this.fetchYAxis());
if (!c.isEmpty && !d.isEmpty && f != null) {
let g = new ScalerParams(0, c, d, f.dn, e);
if (f.dy) {
g.b = this.i5();
}
b = f.f5(f.q7, g);
}
return b;
}
acf(a, b, c) {
let d = this.abv(c);
if (a.count > 0) {
let e = d;
a.add({ $type: Point_$type, x: a._inner[a.count - 1].x, y: e });
a.add({ $type: Point_$type, x: a._inner[0].x, y: e });
}
}
abf(a, b, c, d) {
return this.abg(a, b, c, d, false);
}
abg(a, b, c, d, e) {
return CategorySeries.y7(a, b, c, d, e);
}
gh() {
return this.highlightedItemsSource != null || this.ab1 != null;
}
hz() {
let a = super.hz();
{
let b = ((() => {
let $ret = new SeriesLayerPropertyOverlay();
$ret.ad = "ValueMemberPath";
$ret.p = true;
$ret.y = "HighlightedValueMemberPath";
$ret.q = true;
return $ret;
})());
b.valueResolving = delegateCombine(b.valueResolving, runOn(this, this.acb));
a.add(b);
}
return a;
}
acb(a, b) {
if (this.ab1 != null) {
b.value = this.ab1;
return;
}
b.value = this.ab9;
}
hk(a, b, c) {
let d = super.hk(a, b, c);
let e = c;
if (this.valueColumn == null || this.valueColumn.count == 0 || e.c9.d < 1) {
d = false;
}
return d;
}
ph(a, b) {
super.ph(a, b);
let c = b;
c.df();
if (c.dl) {
c.dk.g$h();
}
for (let d = 0; d < b.aa.count; d++) {
let e = c.aa._inner[d];
e.g$h();
}
}
aa4(a, b) {
super.aa4(a, b);
let c = this.zk(b);
c.d(a, b);
a.i.clear();
if (b.aa.count > 0) {
let d = c.i(a);
if (d == null || c.g == null) {
return;
}
let e = c.j(d);
let f = c.s(d);
for (let g = 0; g < b.aa.count; g++) {
a.i.add(new List$1(Point_$type, 0));
let h = b.aa._inner[g];
h.prepareLine1(this, a.i._inner[g], d, e, f);
}
}
}
aa7(a, b) {
super.aa7(a, b);
let c = typeCast(AnchoredCategorySeriesView.$, b);
c.ck = true;
if (c.dl) {
c.dk.g$k(a.v);
}
for (let d = 0; d < b.aa.count; d++) {
let e = b.aa._inner[d];
e.g$k(a.i._inner[d]);
}
if (this.x0()) {
CategoryMarkerManager.e(this, a.s, b.dc, this.x2);
this.aat(b, a);
b.c4();
}
this.acc(a, b);
}
r6(a, b, c, d, e) {
super.r6(a, b, c, d, e);
let f = this.ba.a$k.item(d);
let g = f;
g.c9.g(this.ik);
f.bd(c);
if (this.d7(g)) {
return;
}
if (this.abi == null) {
this.abi = new CategoryFrame(3);
}
this.abi.aa();
this.aa4(this.abi, g);
this.aa7(this.abi, g);
}
acc(a, b) {
}
sy() {
super.sy();
if (this.index < 0) {
return;
}
this.abh.dq();
if (this.trendLineBrush != null) {
this.abh.dn();
}
else {
this.abh.dm();
}
}
k6(a, b) {
if (this.abh.dl && a == this.abh.dk.g$n) {
return null;
}
return super.k6(a, b);
}
get currentCategoryMode() {
return this.preferredCategoryMode(typeCast(CategoryAxisBase.$, this.zc()));
}
get scaler() {
return typeCast(ICategoryScaler_$type, this.zc());
}
get yScaler() {
return typeCast(IScaler_$type, this.zt());
}
get bucketizer() {
return this.abh.c9;
}
get currentMode2Index() {
return this.aai();
}
provideCollisionDetector() {
if (this.abj == 1) {
return new CollisionAvoider();
}
return NonCollisionAvoider.b;
}
get trendlinePreparer() {
return this.abh.dl ? this.abh.dk : null;
}
qc(a) {
super.qc(a);
if (this.abh.dl) {
this.bc.exportTrendlineData(this, a, this.abh.dk.g$n);
}
}
kw(a) {
let b = this.fetchXAxis();
let c = this.fetchYAxis();
return this.abm.c$b(this, a, this.aaf(this.cw), this.valueColumn, b, c, this.abk == 1, (d) => super.kw(d));
}
get mayContainUnknowns() {
return this.valueColumn == null || this.valueColumn.mayContainUnknowns;
}
i5() {
return Series.i6(this.valueColumn, typeCast(ISortingAxis_$type, this.fetchXAxis()));
}
get_abx() {
return 0;
}
get abx() {
return this.get_abx();
}
az(a) {
if (a.isEmpty && this.dc != null) {
a = this.dc.yr;
}
if (this.valueColumn == null) {
return null;
}
let b = this.w3(this.cw);
let c = this.zc();
let d = new ScalerParams(0, a, this.dc.y9, c.dn, this.getEffectiveViewport());
let e = (c.f8(b.left, d));
let f = (c.f8(b.right, d));
if (c.dn) {
let g = e;
e = f;
f = g;
}
e -= this.abx;
f += this.abx;
let h = null;
if (c.dv) {
h = c;
e = h.i$f(e);
f = h.i$f(f);
}
else {
e = Math.floor(e);
f = Math.ceil(f);
}
if (isNaN_(e) || isNaN_(f)) {
return null;
}
e = Math.max(0, Math.min(this.valueColumn.count - 1, e));
f = Math.max(0, Math.min(this.valueColumn.count - 1, f));
let i = 1.7976931348623157E+308;
let j = -1.7976931348623157E+308;
if (truncate(e) <= truncate(f)) {
for (let k = truncate(e); k <= truncate(f); k++) {
let l = k;
if (h != null) {
l = h.i$b._inner[k];
}
let m = this.valueColumn.item(l);
if (this.valueColumn.mayContainUnknowns) {
if (isInfinity(m) || isNaN_(m)) {
continue;
}
}
i = Math.min(i, m);
j = Math.max(j, m);
}
}
let n = new AxisRange(i, j);
n = this.ax(n, this.zt(), a);
return n;
}
ach() {
this.it = this.valueColumn == null || this.valueColumn.count == 0 ? NaN : this.valueColumn.item(this.valueColumn.count - 1);
}
acg() {
if (this.abp) {
this.abt = 0;
for (let a = 0; a < this.valueColumn.count; a++) {
this.abt += this.valueColumn.item(a);
}
this.abu = this.abt / this.valueColumn.count;
this.abp = false;
}
}
jg(a, b) {
if (b == null || !b.dq) {
return NaN;
}
let c = this.zt();
if (b != c) {
return NaN;
}
let d = this.aq(a);
if (c.dy) {
return d[1];
}
else {
return d[0];
}
}
aq(a) {
let b = NaN;
switch (a) {
case 5:
case 2:
b = this.valueColumn.maximum;
break;
case 4:
case 1:
b = this.valueColumn.minimum;
break;
case 6:
case 3:
if (this.abp) {
this.acg();
}
b = this.abu;
break;
}
let c = this.zt();
if (c.dy) {
return [NaN, b];
}
else {
return [b, NaN];
}
}
wy(a) {
let b = NaN;
switch (a) {
case 5:
case 2:
b = this.valueColumn.maximum;
break;
case 4:
case 1:
b = this.valueColumn.minimum;
break;
case 6:
case 3:
if (this.abp) {
this.acg();
}
b = this.abu;
break;
}
if (isNaN_(b)) {
return { $type: Point_$type, x: NaN, y: NaN };
}
let c = this.zt();
let d = this.getEffectiveViewport1(this.cw);
let e = new ScalerParams(0, this.cw.ca, this.cw.b9, c.dn, d);
if (c.dy) {
e.b = this.i5();
}
e.c = d;
if (c.dy) {
return { $type: Point_$type, x: NaN, y: c.f5(b, e) };
}
else {
return { $type: Point_$type, x: c.f5(b, e), y: NaN };
}
}
wz(a) {
let b = this.zt();
let c = this.getEffectiveViewport1(this.cw);
let d = new ScalerParams(0, this.cw.ca, this.cw.b9, b.dn, c);
if (b.dy) {
d.b = this.i5();
}
d.c = c;
if (b.dy) {
return { $type: Point_$type, x: NaN, y: b.f5(a[1], d) };
}
else {
return { $type: Point_$type, x: b.f5(a[0], d), y: NaN };
}
}
aa0(a, b, c, d, e, f, g) {
if (c < 0 || d < 0) {
return;
}
for (let h = c; h <= d; h++) {
if (a == 1) {
if (this.abq(e, f, h)) {
if (g == 7 || g == 6) {
b.add(((() => {
let $ret = new ChartSelection();
$ret.series = this;
return $ret;
})()));
return;
}
this.aar(b, h, g);
}
}
else {
if (this.abr(e, f, h)) {
if (g == 7 || g == 6) {
b.add(((() => {
let $ret = new ChartSelection();
$ret.series = this;
return $ret;
})()));
return;
}
this.aar(b, h, g);
}
}
}
}
abr(a, b, c) {
return this.valueColumn.item(c) < b && a < this.valueColumn.item(c);
}
abq(a, b, c) {
return 0 < b && a < this.valueColumn.item(c);
}
aar(a, b, c) {
if (c == 2 || c == 1) {
a.add(((() => {
let $ret = new ChartSelection();
$ret.item = this.dp.item(b);
return $ret;
})()));
}
else {
a.add(((() => {
let $ret = new ChartSelection();
$ret.item = this.dp.item(b);
$ret.series = this;
return $ret;
})()));
}
}
bd() {
return CategoryTrendLineManagerFactory.a(null, this.a0(), null, this, this.ds);
}
qq() {
super.qq();
if (this.abh.dl) {
this.abh.dk.g$m();
}
for (let a = 0; a < this.abh.aa.count; a++) {
let b = this.abh.aa._inner[a];
b.g$m();
}
}
get useHighMarkerFidelity() {
return this.aaa;
}
}
AnchoredCategorySeries.$t = markType(AnchoredCategorySeries, 'AnchoredCategorySeries', CategorySeries.$, [IIsCategoryBased_$type, IHasSingleValueCategory_$type, IHasCategoryTrendline_$type, ITrendLineSeries_$type]);
AnchoredCategorySeries.aci = DependencyProperty.i("ActualTrendLineBrush", Brush.$, AnchoredCategorySeries.$, new PropertyMetadata(2, null, (a, b) => a.raisePropertyChanged("ActualTrendLineBrush", b.oldValue, b.newValue)));
AnchoredCategorySeries.$$p = markDep(DependencyProperty, PropertyMetadata, AnchoredCategorySeries, 'raisePropertyChanged', ['ConsolidatedItemHitTestBehavior:abk:acj', [ConsolidatedItemHitTestBehavior_$type, enumGetBox(ConsolidatedItemHitTestBehavior_$type, 0)], 'HighlightedValueMemberPath:ab1:ack', [2, null], 'MarkerCollisionAvoidance:abj:acl', [CategorySeriesMarkerCollisionAvoidance_$type, enumGetBox(CategorySeriesMarkerCollisionAvoidance_$type, 1)], 'ValueMemberAsLegendLabel:ab5:act', [2, null], 'ValueMemberAsLegendUnit:ab7:acu', [2, null], 'ValueMemberPath:ab9:acv', [2, null], 'TrendLineType::acr', [TrendLineType_$type, enumGetBox(TrendLineType_$type, 0)], 'TrendLineThickness::acq', [1, 1.5], 'TrendLinePeriod::acp', [1, 7], 'TrendLineBrush::acm', [Brush.$, null], 'TrendLineZIndex:abw:acs', [1, 1001], 'TrendLineDashArray:acx:acn', [DoubleCollection.$], 'TrendLineDashCap:acy:aco', [PenLineCap_$type, enumGetBox(PenLineCap_$type, 0)]]);
return AnchoredCategorySeries;
})();
/**
* @hidden
*/
export let AnchoredCategoryBucketCalculator = /*@__PURE__*/ (() => {
class AnchoredCategoryBucketCalculator extends CategoryBucketCalculator {
constructor(a) {
super(a);
this.i = null;
this.h = null;
this.j = 0;
this.i = a;
}
getBucketWithoutUnknowns(a) {
let b = this.h;
let c = this.j;
let d = a * this.d;
let e = d + this.d - 1;
let f = c - 1;
d = d < f ? d : f;
e = e < f ? e : f;
let g = 1.7976931348623157E+308;
let h = -1.7976931348623157E+308;
let i = true;
for (let j = d; j <= e; ++j) {
let k = b[j];
g = g < k ? g : k;
h = h > k ? h : k;
i = false;
}
if (!i) {
return [0.5 * (d + e), g, h];
}
return [0.5 * (d + e), NaN, NaN];
}
getBucket(a) {
let b = this.h;
let c = this.j;
let d = a * this.d;
let e = d + this.d - 1;
let f = c - 1;
d = d < f ? d : f;
e = e < f ? e : f;
let g = 0;
let h = 0;
let i = true;
for (let j = d; j <= e; ++j) {
let k = b[j];
if (!i) {
if (!isNaN_(k)) {
g = g < k ? g : k;
h = h > k ? h : k;
}
}
else {
if (!isNaN_(k)) {
g = k;
h = k;
i = false;
}
}
}
if (!i) {
return [0.5 * (d + e), g, h];
}
return [0.5 * (d + e), NaN, NaN];
}
cacheValues() {
this.j = this.i.di.valueColumn.count;
this.h = this.i.di.valueColumn.asArray();
}
unCacheValues() {
this.h = null;
}
}
AnchoredCategoryBucketCalculator.$t = markType(AnchoredCategoryBucketCalculator, 'AnchoredCategoryBucketCalculator', CategoryBucketCalculator.$);
return AnchoredCategoryBucketCalculator;
})();
/**
* @hidden
*/
export let AnchoredCategorySeriesView = /*@__PURE__*/ (() => {
class AnchoredCategorySeriesView extends CategorySeriesView {
constructor(a) {
super(a);
this.di = null;
this.dj = null;
this.di = a;
}
get dk() {
if (this.dj == null) {
this.dj = CategoryTrendLineManagerFactory.a(this.dj, this.f.a0(), this.f.tc, this.f, this.f.ds);
this.dj.g$b = this.di.trendLineType;
this.dj.g$f = this.di.trendLinePeriod;
}
return this.dj;
}
set dk(a) {
this.dj = a;
}
get dl() {
return this.dj != null;
}
dq() {
this.di.acw = null;
}
dn() {
this.di.acw = this.di.trendLineBrush;
}
dm() {
this.di.acw = this.di.vs;
}
da() {
return new AnchoredCategoryBucketCalculator(this);
}
dp() {
this.c9.cacheValues();
}
dr() {
this.c9.unCacheValues();
}
ds(a) {
let b = this.dc.item(a);
return this.c7(b);
}
bi(a, b) {
if (a.d) {
if (this.di.trendLineType != 0 && !b) {
let c = this.dk.g$n;
c.ad = this.di.trendLineThickness;
c._stroke = this.di.acw;
c.ai = this.di.acx;
c.aj = this.di.acy;
a.v(c);
}
}
super.bi(a, b);
}
getDefaultTooltipTemplate() {
return this.di.abm.c$c(this.f, this.di.ab9);
}
}
AnchoredCategorySeriesView.$t = markType(AnchoredCategorySeriesView, 'AnchoredCategorySeriesView', CategorySeriesView.$);
return AnchoredCategorySeriesView;
})();