igniteui-webcomponents-charts 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-charts.umd.js +279 -240
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/DataLegendContent_combined.js +7 -0
- package/esm2015/lib/DataLegendVisualData_combined.js +24 -14
- package/esm2015/lib/FinancialLegend_combined.js +3 -3
- package/esm2015/lib/ItemLegend_combined.js +26 -25
- package/esm2015/lib/LegendBaseViewManager_combined.js +118 -100
- package/esm2015/lib/Legend_combined.js +13 -13
- package/esm2015/lib/ScaleLegend_combined.js +82 -82
- package/esm2015/lib/ScatterBase_combined.js +3 -2
- package/esm5/lib/DataLegendContent_combined.js +7 -0
- package/esm5/lib/DataLegendVisualData_combined.js +28 -14
- package/esm5/lib/FinancialLegend_combined.js +3 -3
- package/esm5/lib/ItemLegend_combined.js +26 -25
- package/esm5/lib/LegendBaseViewManager_combined.js +118 -100
- package/esm5/lib/Legend_combined.js +13 -13
- package/esm5/lib/ScaleLegend_combined.js +82 -82
- package/esm5/lib/ScatterBase_combined.js +3 -2
- package/fesm2015/igniteui-webcomponents-charts.js +276 -241
- package/fesm5/igniteui-webcomponents-charts.js +280 -241
- package/lib/DataLegendVisualData_combined.d.ts +5 -1
- package/lib/ItemLegend_combined.d.ts +5 -5
- package/lib/LegendBaseViewManager_combined.d.ts +33 -32
- package/lib/Legend_combined.d.ts +2 -2
- package/lib/ScaleLegend_combined.d.ts +23 -23
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { __extends, __values, __generator, __spreadArray, __read, __makeTemplateObject } from 'tslib';
|
|
9
|
-
import { Type, markEnum, markType, Base, PropertyChangedEventArgs, PropertyUpdatedEventArgs, FrameworkElement, INotifyPropertyChanged_$type, markDep, DependencyProperty, PropertyMetadata, Rect, EventArgs, CanvasViewRenderer, BrushUtil, DeviceUtils, ColorUtil, typeCast, IEquatable$1_$type, truncate, log10, isInfinity, isNaN_, ObservableCollection$1, DependencyObject, List$1, logBase, typeGetValue, Number_$type, TypeRegistrar, ContentControl, ICommandStateChangedListener_$type, VersionQueueHelper, Dictionary$2, String_$type, IDataLegend_$type, DVContainer, Point_$type, dateNow, CanvasRenderScheduler, runOn, delegateCombine, DoubleAnimator, SRProvider, fromEnum, delegateRemove, fromEn, PointUtil, EnumUtil, enumGetBox, LegendItemBadgeShape_$type, LegendItemBadgeMode_$type, MouseEventArgs, MouseButtonEventArgs, HashSet$1, intDivide, toEnum, RectChangedEventArgs, Size, MathUtil, Tuple$2, NotifyCollectionChangedEventArgs, stringIsNullOrEmpty, FastItemsSource, defaultDVDateParse, FontUtil, CaptureImageSettings, ImageCapturedEventArgs, Control, ILegendOwner_$type, IInternalLegendOwner_$type, IDataLegendTarget_$type, IToolbarTarget_$type, ISupportsAnimation_$type, IChartLegend_$type, Boolean_$type, Brush, BrushCollection, DataTemplate, Visibility_$type, InteractionState_$type, ModifierKeys_$type, HorizontalAlignment_$type, Line, DOMExecutionContext, Path, Rectangle, PathFigureCollection, PathFigure, LineSegment, PathGeometry, GeometryGroup, Thickness, TextBlock, ISchedulableRender_$type, ArgumentNullException, RenderingContext, EllipseGeometry, DataTemplateMeasureInfo, DataTemplateRenderInfo, LegendItemHelper, stringEmpty, DomWrapper_$type, CssGradientUtil, BrushUtilCore, VerticalAlignment_$type, FastReflectionHelper, Pool$1, BindingFormatter, RectangleGeometry, LineGeometry, Delegate_$type, Array_$type, DoubleCollection, RectUtil, TransformGroup, AngleSimplifier, RotateTransform, TranslateTransform, TransformMatrixHelpler, Panel, IFastItemsSource_$type, IFastItemsSourceProvider_$type, IEnumerable_$type, stringEndsWith, Stack$1, stringStartsWith, ArrayExtension, PlatformAPIHelper, PolygonUtil, Canvas, Binding, FastItemColumn, getInstanceType, DataContext, IChartItemLegend_$type, UIElement, Date_$type, stringIsNullOrWhiteSpace, DataLegendSeriesValueInfo, DataLegendSeriesContext, ILegendSeries_$type, ILegendSeriesInternal_$type, ILegendTemplateProvider_$type, IDataLegendSeries_$type, PenLineCap_$type, PenLineJoin_$type, Color, Style, FastItemsSourceReference, stringFormat, EasingFunctions, DataTemplatePassInfo, callStaticConstructors, LinearGradientBrush, round10N, LinkedList$1, LinkedListNode$1, FastItemObjectColumn, LabelCollisionManager, QuadTreeBoundingBox, LabelCollisionInfo, CalloutCollisionMode_$type, HighlightedValueLabelMode_$type, HashPool$2, InterpolationUtil, PointCollection, Polygon, Polyline, DataToolTipLayerGroupingMode_$type, DataLegendLabelMode_$type, DataLegendUnitsMode_$type, DataLegendSummaryType_$type, DataLegendLayoutMode_$type, DataLegendHeaderTimeMode_$type, DataLegendHeaderDateMode_$type, DataLegendValueMode_$type, DataAbbreviationMode_$type, DataTooltipGroupedPositionY_$type, DataTooltipGroupedPositionX_$type, IOnDemandRender_$type, ensureBool, brushToString, stringToBrush, arrayFindByName, SyncableObservableCollection$2, IgCollection, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal, fromDoubleCollection, toDoubleCollection, doubleCollectionToString, ensureEnum, enumToString, SyncableObservableCollection$1, initializePropertiesFromCss, IgcHTMLElement, IgcPropertyUpdatedEventArgs, colorToString, stringToColor, toPoint, fromPoint, fromRect, pointToString, RegisterElementHelper, ArrayAccessHelper, NotImplementedException, FontInfo, RectData, ColorData, IVisualData_$type, StringBuilder, stringJoin, stringReplace, NumberFormatSpecifier, stringContains, padRight, trimEnd, stringToCharArray, Extensions, AppearanceHelper, DataLegendSummaryColumn, DateTimeFormatSpecifier, EventProxy, FontDefaults, WebComponentRenderer, Random, HighlightingInfo, Clipper, NotSupportedException, TrendLineType_$type, IgcHighlightingInfo, PolyLineSegment, FastFlattener, IUnknownValuePlotting_$type, UnknownValuePlotting_$type, getEnumerator, IEnumerable$1_$type, ReadOnlyCollection$1, IList$1_$type, Numeric, SortDescription, CountSummaryCalculator, AverageSummaryCalculator, SumSummaryCalculator, MaxSummaryCalculator, MinSummaryCalculator, SummaryDescription, DataSeries, DataSeriesAdapter, FilterExpressionCollection, SortGroupParser, SummaryParser, DataSeriesType_$type, BaseError, ObservableColorCollection, BrushCollectionUtil, FilterExpressionParsingHelper, IDataSeriesAdapterRule_$type, SimpleCategorySeriesRule, SubCollectionsRule, DataSourceSummaryOperand_$type, IgcProvideCalculatorEventArgs, ListSortDirection, ListSortDirection_$type, IgcFilterExpressionCollection, fromBrushCollection, toBrushCollection, brushCollectionToString, toRect, rectToString, addPaletteThemeEntry, addTextThemeEntry, addBrushPaletteThemeEntry, DataSeriesType, IgcDataContext, WebComponentWrapper, GeometryUtil, boxArray$1, toNullable, HighlightingManager, timeSpanFromMilliseconds, timeSpanTotalMilliseconds, html, IgcDVInteractivityModule, Flattener, LeastSquaresFit, TrendCalculators, SvgIconRegistry, FastIterationDictionary$2, ToolActionIconButtonInfo, ToolActionIconMenuInfo, ToolActionGroupHeaderInfo, ToolActionSeparatorInfo, ToolActionLabelInfo, ToolActionCheckboxInfo, ToolActionRadioInfo, ToolCommandArgument, NativeUIComponent, ToolActionCheckboxListInfo, ToolCommandStateChanged, ArcSegment, CoreGeometryUtil, OthersCategoryType_$type, RadialLabelMode_$type, IFastItemColumn$1_$type, SpiralFlattener, PieSliceCollisionGeometry, SimplePieSeriesRule, PointData, DOMEventProxy, ObjectCollection, IList_$type, SweepDirection_$type, PathSegmentCollection,
|
|
9
|
+
import { Type, markEnum, markType, Base, PropertyChangedEventArgs, PropertyUpdatedEventArgs, FrameworkElement, INotifyPropertyChanged_$type, markDep, DependencyProperty, PropertyMetadata, Rect, EventArgs, CanvasViewRenderer, BrushUtil, DeviceUtils, ColorUtil, typeCast, IEquatable$1_$type, truncate, log10, isInfinity, isNaN_, ObservableCollection$1, DependencyObject, List$1, logBase, typeGetValue, Number_$type, TypeRegistrar, ContentControl, ICommandStateChangedListener_$type, VersionQueueHelper, Dictionary$2, String_$type, IDataLegend_$type, DVContainer, Point_$type, dateNow, CanvasRenderScheduler, runOn, delegateCombine, DoubleAnimator, SRProvider, fromEnum, delegateRemove, fromEn, PointUtil, EnumUtil, enumGetBox, LegendItemBadgeShape_$type, LegendItemBadgeMode_$type, MouseEventArgs, MouseButtonEventArgs, HashSet$1, intDivide, toEnum, RectChangedEventArgs, Size, MathUtil, Tuple$2, NotifyCollectionChangedEventArgs, stringIsNullOrEmpty, FastItemsSource, defaultDVDateParse, FontUtil, CaptureImageSettings, ImageCapturedEventArgs, Control, ILegendOwner_$type, IInternalLegendOwner_$type, IDataLegendTarget_$type, IToolbarTarget_$type, ISupportsAnimation_$type, IChartLegend_$type, Boolean_$type, Brush, BrushCollection, DataTemplate, Visibility_$type, InteractionState_$type, ModifierKeys_$type, HorizontalAlignment_$type, Line, DOMExecutionContext, Path, Rectangle, PathFigureCollection, PathFigure, LineSegment, PathGeometry, GeometryGroup, Thickness, TextBlock, ISchedulableRender_$type, ArgumentNullException, RenderingContext, EllipseGeometry, DataTemplateMeasureInfo, DataTemplateRenderInfo, LegendItemHelper, stringEmpty, DomWrapper_$type, CssGradientUtil, BrushUtilCore, VerticalAlignment_$type, FastReflectionHelper, Pool$1, BindingFormatter, RectangleGeometry, LineGeometry, Delegate_$type, Array_$type, DoubleCollection, RectUtil, TransformGroup, AngleSimplifier, RotateTransform, TranslateTransform, TransformMatrixHelpler, Panel, IFastItemsSource_$type, IFastItemsSourceProvider_$type, IEnumerable_$type, stringEndsWith, Stack$1, stringStartsWith, ArrayExtension, PlatformAPIHelper, PolygonUtil, Canvas, Binding, FastItemColumn, getInstanceType, DataContext, IChartItemLegend_$type, UIElement, Date_$type, stringIsNullOrWhiteSpace, DataLegendSeriesValueInfo, DataLegendSeriesContext, ILegendSeries_$type, ILegendSeriesInternal_$type, ILegendTemplateProvider_$type, IDataLegendSeries_$type, PenLineCap_$type, PenLineJoin_$type, Color, Style, FastItemsSourceReference, stringFormat, EasingFunctions, DataTemplatePassInfo, callStaticConstructors, LinearGradientBrush, round10N, LinkedList$1, LinkedListNode$1, FastItemObjectColumn, LabelCollisionManager, QuadTreeBoundingBox, LabelCollisionInfo, CalloutCollisionMode_$type, HighlightedValueLabelMode_$type, HashPool$2, InterpolationUtil, PointCollection, Polygon, Polyline, DataToolTipLayerGroupingMode_$type, DataLegendLabelMode_$type, DataLegendUnitsMode_$type, DataLegendSummaryType_$type, DataLegendLayoutMode_$type, DataLegendHeaderTimeMode_$type, DataLegendHeaderDateMode_$type, DataLegendValueMode_$type, DataAbbreviationMode_$type, DataTooltipGroupedPositionY_$type, DataTooltipGroupedPositionX_$type, IOnDemandRender_$type, ensureBool, brushToString, stringToBrush, arrayFindByName, SyncableObservableCollection$2, IgCollection, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal, fromDoubleCollection, toDoubleCollection, doubleCollectionToString, ensureEnum, enumToString, SyncableObservableCollection$1, initializePropertiesFromCss, IgcHTMLElement, IgcPropertyUpdatedEventArgs, colorToString, stringToColor, toPoint, fromPoint, fromRect, pointToString, RegisterElementHelper, ArrayAccessHelper, NotImplementedException, FontInfo, RectData, ColorData, IVisualData_$type, StringBuilder, stringJoin, stringReplace, NumberFormatSpecifier, stringContains, padRight, trimEnd, stringToCharArray, Extensions, AppearanceHelper, PrimitiveAppearanceData, ILegendContext_$type, DataLegendSummaryColumn, DateTimeFormatSpecifier, EventProxy, FontDefaults, WebComponentRenderer, Random, HighlightingInfo, Clipper, NotSupportedException, TrendLineType_$type, IgcHighlightingInfo, PolyLineSegment, FastFlattener, IUnknownValuePlotting_$type, UnknownValuePlotting_$type, getEnumerator, IEnumerable$1_$type, ReadOnlyCollection$1, IList$1_$type, Numeric, SortDescription, CountSummaryCalculator, AverageSummaryCalculator, SumSummaryCalculator, MaxSummaryCalculator, MinSummaryCalculator, SummaryDescription, DataSeries, DataSeriesAdapter, FilterExpressionCollection, SortGroupParser, SummaryParser, DataSeriesType_$type, BaseError, ObservableColorCollection, BrushCollectionUtil, FilterExpressionParsingHelper, IDataSeriesAdapterRule_$type, SimpleCategorySeriesRule, SubCollectionsRule, DataSourceSummaryOperand_$type, IgcProvideCalculatorEventArgs, ListSortDirection, ListSortDirection_$type, IgcFilterExpressionCollection, fromBrushCollection, toBrushCollection, brushCollectionToString, toRect, rectToString, addPaletteThemeEntry, addTextThemeEntry, addBrushPaletteThemeEntry, DataSeriesType, IgcDataContext, WebComponentWrapper, GeometryUtil, boxArray$1, toNullable, HighlightingManager, timeSpanFromMilliseconds, timeSpanTotalMilliseconds, html, IgcDVInteractivityModule, Flattener, LeastSquaresFit, TrendCalculators, SvgIconRegistry, FastIterationDictionary$2, ToolActionIconButtonInfo, ToolActionIconMenuInfo, ToolActionGroupHeaderInfo, ToolActionSeparatorInfo, ToolActionLabelInfo, ToolActionCheckboxInfo, ToolActionRadioInfo, ToolCommandArgument, NativeUIComponent, ToolActionCheckboxListInfo, ToolCommandStateChanged, ArcSegment, CoreGeometryUtil, OthersCategoryType_$type, RadialLabelMode_$type, IFastItemColumn$1_$type, SpiralFlattener, PieSliceCollisionGeometry, SimplePieSeriesRule, PointData, DOMEventProxy, ObjectCollection, IList_$type, SweepDirection_$type, PathSegmentCollection, LabelAppearanceData, PathVisualData, BezierSegment, SizeData, DomRenderer_$type, fromSize, toSize, CollectionAdapter, NotifyCollectionChangedAction, dateAddDays, dateFromValues, dateGetMonth, dateAddHours, dateAddMinutes, dateAddSeconds, dateMaxValue, timeSpanFromDays, dateAddYears, dateAddMonths, timeSpanFromHours, timeSpanFromMinutes, timeSpanFromSeconds, timeSpanFromTicks, dateMinValue, FastItemDateTimeColumn, dateSubtract, dateAdd, dateFromTicks, getBoxIfEnum, IDictionary$2_$type, IDictionary_$type, KeyValuePair$2, IEnumerator$1_$type, IEnumerator_$type, timeSpanTicks, dateToStringFormat, timeSpanInit3, timeSpanInit1, dateGetTimeOfDay, EnumeratorWrapper, CanvasGestureDOMEventProxy, IZoomSlider_$type, IgcRectChangedEventArgs, SimpleFinancialPriceSeriesRule, nothing, IgcTemplateContentModule, DictionaryUtil, Queue$1, CompareUtil, Convert, HighlightedValueDisplayMode_$type, IgcNumberFormatSpecifierModule, IgcDateTimeFormatSpecifierModule, IgcImageCapturedEventArgs, SmartPlacer, SmartPlaceableWrapper$1, RearrangedList$1, fromColorCollection, toColorCollection, colorCollectionToString, IErrorBarCalculator_$type, ErrorBarCalculatorReference_$type, arrayShallowClone, IChartScaleLegend_$type, IScaleLegendSeries_$type, IgcTriangulationStatusEventArgs, Triangulator, TriangulationStatusEventArgs, FastItemIntColumn, PointCollectionUtil, Tuple$3, InvalidOperationException, PolySimplification, IgcStyle, PlatformConstants, PrimitiveVisualDataList, RectangleVisualData, PolygonVisualData, PolyLineVisualData, LineVisualData, IOverviewPlusDetailControl_$type, Shape, IgcObjectCollection } from 'igniteui-webcomponents-core';
|
|
10
10
|
|
|
11
11
|
/*
|
|
12
12
|
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
@@ -54772,6 +54772,7 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
54772
54772
|
_this._badgeMarginRight = 0;
|
|
54773
54773
|
_this._badgeMarginBottom = 0;
|
|
54774
54774
|
_this._badgeShape = null;
|
|
54775
|
+
_this._badgeAppearance = null;
|
|
54775
54776
|
_this._rowBounds = null;
|
|
54776
54777
|
_this._rowMarginLeft = 0;
|
|
54777
54778
|
_this._rowMarginTop = 0;
|
|
@@ -54861,6 +54862,16 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
54861
54862
|
enumerable: false,
|
|
54862
54863
|
configurable: true
|
|
54863
54864
|
});
|
|
54865
|
+
Object.defineProperty(DataLegendVisualDataRow.prototype, "badgeAppearance", {
|
|
54866
|
+
get: function () {
|
|
54867
|
+
return this._badgeAppearance;
|
|
54868
|
+
},
|
|
54869
|
+
set: function (a) {
|
|
54870
|
+
this._badgeAppearance = a;
|
|
54871
|
+
},
|
|
54872
|
+
enumerable: false,
|
|
54873
|
+
configurable: true
|
|
54874
|
+
});
|
|
54864
54875
|
Object.defineProperty(DataLegendVisualDataRow.prototype, "rowBounds", {
|
|
54865
54876
|
get: function () {
|
|
54866
54877
|
return this._rowBounds;
|
|
@@ -54917,22 +54928,25 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
54917
54928
|
var b = " ";
|
|
54918
54929
|
var c = new StringBuilder(0);
|
|
54919
54930
|
c.u("{");
|
|
54920
|
-
c.u(b + this.
|
|
54921
|
-
c.u(b + this.
|
|
54922
|
-
c.u(b + this.
|
|
54923
|
-
c.u(b + this.
|
|
54931
|
+
c.u(b + this.o("badgeMarginLeft") + this.badgeMarginLeft + a);
|
|
54932
|
+
c.u(b + this.o("badgeMarginTop") + this.badgeMarginTop + a);
|
|
54933
|
+
c.u(b + this.o("badgeMarginRight") + this.badgeMarginRight + a);
|
|
54934
|
+
c.u(b + this.o("badgeMarginBottom") + this.badgeMarginBottom + a);
|
|
54924
54935
|
if (this.badgeBounds == null) {
|
|
54925
|
-
c.u(b + this.
|
|
54936
|
+
c.u(b + this.o("badgeBounds") + "{}" + a);
|
|
54926
54937
|
}
|
|
54927
54938
|
else {
|
|
54928
|
-
c.u(b + this.
|
|
54939
|
+
c.u(b + this.o("badgeBounds") + DataLegendVisualData.serialize1(this.badgeBounds) + a);
|
|
54940
|
+
}
|
|
54941
|
+
c.u(b + this.o("badgeShape") + DataLegendVisualData.serialize1(this.badgeShape) + a);
|
|
54942
|
+
if (this.badgeAppearance != null) {
|
|
54943
|
+
c.u(b + this.o("badgeAppearance") + this.badgeAppearance.serialize() + a);
|
|
54929
54944
|
}
|
|
54930
|
-
c.u(b + this.
|
|
54931
|
-
c.u(b + this.
|
|
54932
|
-
c.u(b + this.
|
|
54933
|
-
c.u(b + this.
|
|
54934
|
-
c.u(b + this.
|
|
54935
|
-
c.u(b + this.n("rowMarginBottom") + this.rowMarginBottom + a);
|
|
54945
|
+
c.u(b + this.o("rowBounds") + DataLegendVisualData.serialize1(this.rowBounds) + a);
|
|
54946
|
+
c.u(b + this.o("rowMarginLeft") + this.rowMarginLeft + a);
|
|
54947
|
+
c.u(b + this.o("rowMarginTop") + this.rowMarginTop + a);
|
|
54948
|
+
c.u(b + this.o("rowMarginRight") + this.rowMarginRight + a);
|
|
54949
|
+
c.u(b + this.o("rowMarginBottom") + this.rowMarginBottom + a);
|
|
54936
54950
|
var d = new List$1(String_$type, 0);
|
|
54937
54951
|
try {
|
|
54938
54952
|
for (var _b = __values(fromEnum(this.columns)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
@@ -54953,13 +54967,13 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
54953
54967
|
throw e_2.error;
|
|
54954
54968
|
}
|
|
54955
54969
|
}
|
|
54956
|
-
c.u(b + this.
|
|
54970
|
+
c.u(b + this.o("columns") + "[");
|
|
54957
54971
|
c.u(b + b + stringJoin.apply(void 0, __spreadArray([", \n" + b + b], __read(d.toArray()), false)));
|
|
54958
54972
|
c.u(b + "]");
|
|
54959
54973
|
c.u("}");
|
|
54960
54974
|
return c.toString();
|
|
54961
54975
|
};
|
|
54962
|
-
DataLegendVisualDataRow.prototype.
|
|
54976
|
+
DataLegendVisualDataRow.prototype.o = function (a) {
|
|
54963
54977
|
return a + ": ";
|
|
54964
54978
|
};
|
|
54965
54979
|
DataLegendVisualDataRow.$t = markType(DataLegendVisualDataRow, 'DataLegendVisualDataRow');
|
|
@@ -56680,6 +56694,11 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
56680
56694
|
l.badgeMarginBottom = k.z.bottom;
|
|
56681
56695
|
l.badgeMarginRight = k.z.right;
|
|
56682
56696
|
l.badgeMarginLeft = k.z.left;
|
|
56697
|
+
l.badgeAppearance = new PrimitiveAppearanceData();
|
|
56698
|
+
var aa = typeCast(ILegendContext_$type, k.n);
|
|
56699
|
+
var ab = typeCast(ILegendContext_$type, k.i);
|
|
56700
|
+
l.badgeAppearance.fill = AppearanceHelper.b(aa.actualItemBrush);
|
|
56701
|
+
l.badgeAppearance.stroke = AppearanceHelper.b(aa.outline);
|
|
56683
56702
|
l.badgeShape = k.o;
|
|
56684
56703
|
}
|
|
56685
56704
|
l.rowBounds = RectData.b(m);
|
|
@@ -163940,7 +163959,7 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
163940
163959
|
var a = LegendItemHelper.b;
|
|
163941
163960
|
if (window.devicePixelRatio != undefined && (isNaN_(a) || window.devicePixelRatio != a)) {
|
|
163942
163961
|
LegendItemHelper.b = window.devicePixelRatio;
|
|
163943
|
-
this.a.
|
|
163962
|
+
this.a.am();
|
|
163944
163963
|
}
|
|
163945
163964
|
};
|
|
163946
163965
|
LegendBaseViewManager.prototype.u = function () {
|
|
@@ -163956,7 +163975,7 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
163956
163975
|
}
|
|
163957
163976
|
this.g = a;
|
|
163958
163977
|
this.l = this.i();
|
|
163959
|
-
this.l.addClass(this.a.
|
|
163978
|
+
this.l.addClass(this.a.t);
|
|
163960
163979
|
this.g.append(this.l);
|
|
163961
163980
|
};
|
|
163962
163981
|
LegendBaseViewManager.prototype.i = function () {
|
|
@@ -163964,8 +163983,8 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
163964
163983
|
};
|
|
163965
163984
|
LegendBaseViewManager.prototype.h = function () {
|
|
163966
163985
|
var a = this.g.createElement("tr");
|
|
163967
|
-
a.addClass(this.a.
|
|
163968
|
-
var b = this.a.
|
|
163986
|
+
a.addClass(this.a.u);
|
|
163987
|
+
var b = this.a.l;
|
|
163969
163988
|
if (b) {
|
|
163970
163989
|
a.setStyleProperty("display", "block");
|
|
163971
163990
|
a.setStyleProperty("float", "left");
|
|
@@ -164006,14 +164025,14 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164006
164025
|
c.ah.render(h);
|
|
164007
164026
|
var i = d.findByClass(".ui-legend-item-badge");
|
|
164008
164027
|
for (var j = 0; j < i.length; j++) {
|
|
164009
|
-
i[j].removeClass("ui-legend-item-badge").addClass(this.a.
|
|
164028
|
+
i[j].removeClass("ui-legend-item-badge").addClass(this.a.s);
|
|
164010
164029
|
}
|
|
164011
164030
|
i = d.findByClass(".ui-legend-item-text");
|
|
164012
164031
|
for (var k = 0; k < i.length; k++) {
|
|
164013
|
-
if (this.a.
|
|
164032
|
+
if (this.a.l) {
|
|
164014
164033
|
i[k].setStyleProperty("white-space", "nowrap");
|
|
164015
164034
|
}
|
|
164016
|
-
i[k].removeClass("ui-legend-item-text").addClass(this.a.
|
|
164035
|
+
i[k].removeClass("ui-legend-item-text").addClass(this.a.v);
|
|
164017
164036
|
}
|
|
164018
164037
|
}
|
|
164019
164038
|
}
|
|
@@ -164021,10 +164040,10 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164021
164040
|
};
|
|
164022
164041
|
LegendBaseViewManager.prototype.o = function (a, b) {
|
|
164023
164042
|
var c = this.k(a, this.l);
|
|
164024
|
-
c.listen("mouseup", runOn(this.a, this.a.
|
|
164025
|
-
c.listen("mousedown", runOn(this.a, this.a.
|
|
164026
|
-
c.listen("mouseleave", runOn(this.a, this.a.
|
|
164027
|
-
c.listen("mousemove", runOn(this.a, this.a.
|
|
164043
|
+
c.listen("mouseup", runOn(this.a, this.a.af));
|
|
164044
|
+
c.listen("mousedown", runOn(this.a, this.a.ac));
|
|
164045
|
+
c.listen("mouseleave", runOn(this.a, this.a.ad));
|
|
164046
|
+
c.listen("mousemove", runOn(this.a, this.a.ae));
|
|
164028
164047
|
this.f.addItem(a, c);
|
|
164029
164048
|
if ((this.l.getChildCount() == 0) || (b >= this.l.getChildCount())) {
|
|
164030
164049
|
this.l.append(c);
|
|
@@ -164199,7 +164218,7 @@ var LegendBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164199
164218
|
_this.legendItemMouseMove = null;
|
|
164200
164219
|
var a = _this.aj();
|
|
164201
164220
|
_this.a8(a);
|
|
164202
|
-
a.
|
|
164221
|
+
a.al();
|
|
164203
164222
|
_this.at = new ObservableCollection$1(UIElement.$, 0);
|
|
164204
164223
|
_this.aw = "ig-chart-legend-items-list";
|
|
164205
164224
|
_this.ax = "ig-chart-legend-item";
|
|
@@ -164208,10 +164227,10 @@ var LegendBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164208
164227
|
return _this;
|
|
164209
164228
|
}
|
|
164210
164229
|
LegendBase.prototype.onDetachedFromUI = function () {
|
|
164211
|
-
this.ak.
|
|
164230
|
+
this.ak.ak();
|
|
164212
164231
|
};
|
|
164213
164232
|
LegendBase.prototype.onAttachedToUI = function () {
|
|
164214
|
-
this.ak.
|
|
164233
|
+
this.ak.ai();
|
|
164215
164234
|
};
|
|
164216
164235
|
LegendBase.prototype.aj = function () {
|
|
164217
164236
|
return new LegendBaseView(this);
|
|
@@ -164381,50 +164400,50 @@ var LegendBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164381
164400
|
}
|
|
164382
164401
|
};
|
|
164383
164402
|
LegendBase.prototype.provideContainer = function (a) {
|
|
164384
|
-
this.ak.
|
|
164403
|
+
this.ak.aj(a);
|
|
164385
164404
|
};
|
|
164386
164405
|
Object.defineProperty(LegendBase.prototype, "aw", {
|
|
164387
164406
|
get: function () {
|
|
164388
|
-
return this.ak.
|
|
164407
|
+
return this.ak.t;
|
|
164389
164408
|
},
|
|
164390
164409
|
set: function (a) {
|
|
164391
|
-
this.ak.
|
|
164410
|
+
this.ak.t = a;
|
|
164392
164411
|
},
|
|
164393
164412
|
enumerable: false,
|
|
164394
164413
|
configurable: true
|
|
164395
164414
|
});
|
|
164396
164415
|
Object.defineProperty(LegendBase.prototype, "ax", {
|
|
164397
164416
|
get: function () {
|
|
164398
|
-
return this.ak.
|
|
164417
|
+
return this.ak.u;
|
|
164399
164418
|
},
|
|
164400
164419
|
set: function (a) {
|
|
164401
|
-
this.ak.
|
|
164420
|
+
this.ak.u = a;
|
|
164402
164421
|
},
|
|
164403
164422
|
enumerable: false,
|
|
164404
164423
|
configurable: true
|
|
164405
164424
|
});
|
|
164406
164425
|
Object.defineProperty(LegendBase.prototype, "av", {
|
|
164407
164426
|
get: function () {
|
|
164408
|
-
return this.ak.
|
|
164427
|
+
return this.ak.s;
|
|
164409
164428
|
},
|
|
164410
164429
|
set: function (a) {
|
|
164411
|
-
this.ak.
|
|
164430
|
+
this.ak.s = a;
|
|
164412
164431
|
},
|
|
164413
164432
|
enumerable: false,
|
|
164414
164433
|
configurable: true
|
|
164415
164434
|
});
|
|
164416
164435
|
Object.defineProperty(LegendBase.prototype, "ay", {
|
|
164417
164436
|
get: function () {
|
|
164418
|
-
return this.ak.
|
|
164437
|
+
return this.ak.v;
|
|
164419
164438
|
},
|
|
164420
164439
|
set: function (a) {
|
|
164421
|
-
this.ak.
|
|
164440
|
+
this.ak.v = a;
|
|
164422
164441
|
},
|
|
164423
164442
|
enumerable: false,
|
|
164424
164443
|
configurable: true
|
|
164425
164444
|
});
|
|
164426
164445
|
LegendBase.prototype.exportVisualData = function () {
|
|
164427
|
-
return this.ak.
|
|
164446
|
+
return this.ak.g();
|
|
164428
164447
|
};
|
|
164429
164448
|
LegendBase.prototype.exportSerializedVisualData = function () {
|
|
164430
164449
|
var a = this.exportVisualData();
|
|
@@ -164450,44 +164469,44 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164450
164469
|
__extends(LegendBaseView, _super);
|
|
164451
164470
|
function LegendBaseView(a) {
|
|
164452
164471
|
var _this = _super.call(this) || this;
|
|
164472
|
+
_this.d = null;
|
|
164453
164473
|
_this.c = null;
|
|
164454
|
-
_this.b = null;
|
|
164455
|
-
_this.s = null;
|
|
164456
164474
|
_this.t = null;
|
|
164457
|
-
_this.r = null;
|
|
164458
164475
|
_this.u = null;
|
|
164459
|
-
_this.
|
|
164460
|
-
_this.
|
|
164461
|
-
_this.
|
|
164476
|
+
_this.s = null;
|
|
164477
|
+
_this.v = null;
|
|
164478
|
+
_this.m = false;
|
|
164479
|
+
_this.j = false;
|
|
164462
164480
|
_this.q = null;
|
|
164463
|
-
_this.
|
|
164464
|
-
_this.c =
|
|
164465
|
-
_this.
|
|
164481
|
+
_this.r = null;
|
|
164482
|
+
_this.c = a;
|
|
164483
|
+
_this.d = new LegendBaseViewManager(_this);
|
|
164484
|
+
_this.d.p();
|
|
164466
164485
|
return _this;
|
|
164467
164486
|
}
|
|
164468
|
-
LegendBaseView.prototype.
|
|
164469
|
-
this.
|
|
164487
|
+
LegendBaseView.prototype.ak = function () {
|
|
164488
|
+
this.d.u();
|
|
164470
164489
|
};
|
|
164471
|
-
LegendBaseView.prototype.
|
|
164472
|
-
this.
|
|
164490
|
+
LegendBaseView.prototype.ai = function () {
|
|
164491
|
+
this.d.s();
|
|
164473
164492
|
};
|
|
164474
|
-
LegendBaseView.prototype.
|
|
164493
|
+
LegendBaseView.prototype.al = function () {
|
|
164475
164494
|
};
|
|
164476
|
-
LegendBaseView.prototype.
|
|
164495
|
+
LegendBaseView.prototype.get_k = function () {
|
|
164477
164496
|
return false;
|
|
164478
164497
|
};
|
|
164479
|
-
Object.defineProperty(LegendBaseView.prototype, "
|
|
164498
|
+
Object.defineProperty(LegendBaseView.prototype, "k", {
|
|
164480
164499
|
get: function () {
|
|
164481
|
-
return this.
|
|
164500
|
+
return this.get_k();
|
|
164482
164501
|
},
|
|
164483
164502
|
enumerable: false,
|
|
164484
164503
|
configurable: true
|
|
164485
164504
|
});
|
|
164486
|
-
LegendBaseView.prototype.
|
|
164505
|
+
LegendBaseView.prototype.e = function (a) {
|
|
164487
164506
|
var b;
|
|
164488
164507
|
var c;
|
|
164489
164508
|
var d;
|
|
164490
|
-
var e = this.
|
|
164509
|
+
var e = this.ab(a, b, c, d);
|
|
164491
164510
|
b = e.p1;
|
|
164492
164511
|
c = e.p2;
|
|
164493
164512
|
d = e.p3;
|
|
@@ -164495,11 +164514,11 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164495
164514
|
var g = new LegendMouseButtonEventArgs(b, c, d, f, a);
|
|
164496
164515
|
return g;
|
|
164497
164516
|
};
|
|
164498
|
-
LegendBaseView.prototype.
|
|
164517
|
+
LegendBaseView.prototype.f = function (a) {
|
|
164499
164518
|
var b;
|
|
164500
164519
|
var c;
|
|
164501
164520
|
var d;
|
|
164502
|
-
var e = this.
|
|
164521
|
+
var e = this.ab(a, b, c, d);
|
|
164503
164522
|
b = e.p1;
|
|
164504
164523
|
c = e.p2;
|
|
164505
164524
|
d = e.p3;
|
|
@@ -164507,8 +164526,8 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164507
164526
|
var g = new LegendMouseEventArgs(b, c, d, f, a);
|
|
164508
164527
|
return g;
|
|
164509
164528
|
};
|
|
164510
|
-
LegendBaseView.prototype.
|
|
164511
|
-
b = this.
|
|
164529
|
+
LegendBaseView.prototype.ab = function (a, b, c, d) {
|
|
164530
|
+
b = this.c.ai;
|
|
164512
164531
|
c = null;
|
|
164513
164532
|
d = null;
|
|
164514
164533
|
if (a != null) {
|
|
@@ -164528,93 +164547,93 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164528
164547
|
p3: d
|
|
164529
164548
|
};
|
|
164530
164549
|
};
|
|
164531
|
-
LegendBaseView.prototype.
|
|
164550
|
+
LegendBaseView.prototype.aa = function () {
|
|
164532
164551
|
};
|
|
164533
|
-
LegendBaseView.prototype.
|
|
164552
|
+
LegendBaseView.prototype.n = function () {
|
|
164534
164553
|
return true;
|
|
164535
164554
|
};
|
|
164536
|
-
LegendBaseView.prototype.
|
|
164537
|
-
};
|
|
164538
|
-
LegendBaseView.prototype.am = function (a) {
|
|
164539
|
-
};
|
|
164540
|
-
LegendBaseView.prototype.ai = function (a) {
|
|
164541
|
-
this.c.t(a);
|
|
164555
|
+
LegendBaseView.prototype.z = function (a) {
|
|
164542
164556
|
};
|
|
164543
164557
|
LegendBaseView.prototype.an = function (a) {
|
|
164544
|
-
this.c.x(a);
|
|
164545
164558
|
};
|
|
164546
|
-
LegendBaseView.prototype.
|
|
164547
|
-
|
|
164548
|
-
this.c.o(a, b);
|
|
164559
|
+
LegendBaseView.prototype.aj = function (a) {
|
|
164560
|
+
this.d.t(a);
|
|
164549
164561
|
};
|
|
164550
|
-
LegendBaseView.prototype.
|
|
164551
|
-
this.
|
|
164562
|
+
LegendBaseView.prototype.ao = function (a) {
|
|
164563
|
+
this.d.x(a);
|
|
164564
|
+
};
|
|
164565
|
+
LegendBaseView.prototype.y = function (a) {
|
|
164566
|
+
var b = this.c.at.indexOf(a);
|
|
164567
|
+
this.d.o(a, b);
|
|
164552
164568
|
};
|
|
164553
164569
|
LegendBaseView.prototype.ag = function () {
|
|
164554
|
-
this.
|
|
164570
|
+
this.d.q();
|
|
164555
164571
|
};
|
|
164556
|
-
|
|
164572
|
+
LegendBaseView.prototype.ah = function () {
|
|
164573
|
+
this.d.r();
|
|
164574
|
+
};
|
|
164575
|
+
Object.defineProperty(LegendBaseView.prototype, "l", {
|
|
164557
164576
|
get: function () {
|
|
164558
|
-
return this.
|
|
164577
|
+
return this.j;
|
|
164559
164578
|
},
|
|
164560
164579
|
set: function (a) {
|
|
164561
|
-
this.
|
|
164562
|
-
this.
|
|
164580
|
+
this.j = a;
|
|
164581
|
+
this.d.v(this.j);
|
|
164563
164582
|
},
|
|
164564
164583
|
enumerable: false,
|
|
164565
164584
|
configurable: true
|
|
164566
164585
|
});
|
|
164567
|
-
Object.defineProperty(LegendBaseView.prototype, "
|
|
164586
|
+
Object.defineProperty(LegendBaseView.prototype, "w", {
|
|
164568
164587
|
get: function () {
|
|
164569
|
-
return this.
|
|
164588
|
+
return this.q;
|
|
164570
164589
|
},
|
|
164571
164590
|
set: function (a) {
|
|
164572
|
-
this.
|
|
164573
|
-
this.
|
|
164591
|
+
this.q = a;
|
|
164592
|
+
this.d.z(this.q);
|
|
164574
164593
|
},
|
|
164575
164594
|
enumerable: false,
|
|
164576
164595
|
configurable: true
|
|
164577
164596
|
});
|
|
164578
|
-
Object.defineProperty(LegendBaseView.prototype, "
|
|
164597
|
+
Object.defineProperty(LegendBaseView.prototype, "x", {
|
|
164579
164598
|
get: function () {
|
|
164580
|
-
return this.
|
|
164599
|
+
return this.r;
|
|
164581
164600
|
},
|
|
164582
164601
|
set: function (a) {
|
|
164583
|
-
this.
|
|
164584
|
-
this.
|
|
164602
|
+
this.r = a;
|
|
164603
|
+
this.d.aa(this.r);
|
|
164585
164604
|
},
|
|
164586
164605
|
enumerable: false,
|
|
164587
164606
|
configurable: true
|
|
164588
164607
|
});
|
|
164589
|
-
LegendBaseView.prototype.
|
|
164590
|
-
this.
|
|
164608
|
+
LegendBaseView.prototype.am = function () {
|
|
164609
|
+
this.d.p();
|
|
164591
164610
|
};
|
|
164592
|
-
LegendBaseView.prototype.
|
|
164611
|
+
LegendBaseView.prototype.o = function (e_) {
|
|
164593
164612
|
var ev_ = e_.originalEvent;
|
|
164594
164613
|
return ev_.currentTarget;
|
|
164595
164614
|
};
|
|
164596
|
-
LegendBaseView.prototype.
|
|
164597
|
-
return this.
|
|
164615
|
+
LegendBaseView.prototype.p = function (e_) {
|
|
164616
|
+
return this.d.n(this.o(e_));
|
|
164598
164617
|
};
|
|
164599
|
-
LegendBaseView.prototype.
|
|
164600
|
-
if (!this.
|
|
164601
|
-
this.
|
|
164618
|
+
LegendBaseView.prototype.ae = function (a) {
|
|
164619
|
+
if (!this.m) {
|
|
164620
|
+
this.c.a3(this.f(this.p(a)));
|
|
164602
164621
|
}
|
|
164603
|
-
this.
|
|
164622
|
+
this.m = true;
|
|
164604
164623
|
};
|
|
164605
|
-
LegendBaseView.prototype.
|
|
164606
|
-
if (this.
|
|
164607
|
-
this.
|
|
164624
|
+
LegendBaseView.prototype.ad = function (a) {
|
|
164625
|
+
if (this.m) {
|
|
164626
|
+
this.c.a4(this.f(this.p(a)));
|
|
164608
164627
|
}
|
|
164609
|
-
this.
|
|
164628
|
+
this.m = false;
|
|
164610
164629
|
};
|
|
164611
|
-
LegendBaseView.prototype.
|
|
164612
|
-
this.
|
|
164630
|
+
LegendBaseView.prototype.ac = function (a) {
|
|
164631
|
+
this.c.a5(this.e(this.p(a)));
|
|
164613
164632
|
};
|
|
164614
|
-
LegendBaseView.prototype.
|
|
164615
|
-
this.
|
|
164633
|
+
LegendBaseView.prototype.af = function (a) {
|
|
164634
|
+
this.c.a6(this.e(this.p(a)));
|
|
164616
164635
|
};
|
|
164617
|
-
LegendBaseView.prototype.
|
|
164636
|
+
LegendBaseView.prototype.i = function (a) {
|
|
164618
164637
|
var b = a.querySelectorAll("span *");
|
|
164619
164638
|
var c = Rect.empty;
|
|
164620
164639
|
for (var e = 0; e < b.length; e++) {
|
|
@@ -164628,16 +164647,16 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164628
164647
|
}
|
|
164629
164648
|
return RectData.b(c);
|
|
164630
164649
|
};
|
|
164631
|
-
LegendBaseView.prototype.
|
|
164650
|
+
LegendBaseView.prototype.h = function (a) {
|
|
164632
164651
|
var b = a.querySelectorAll("canvas");
|
|
164633
164652
|
var c = b.length > 0 ? b[0] : null;
|
|
164634
164653
|
return c != null ? new RectData(c.getOffset().left, c.getOffset().top, c.width(), c.height()) : null;
|
|
164635
164654
|
};
|
|
164636
164655
|
LegendBaseView.prototype.a = function (a) {
|
|
164637
|
-
if (this.
|
|
164656
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
164638
164657
|
return null;
|
|
164639
164658
|
}
|
|
164640
|
-
var b = this.
|
|
164659
|
+
var b = this.c.at._inner[a];
|
|
164641
164660
|
if (b == null) {
|
|
164642
164661
|
return null;
|
|
164643
164662
|
}
|
|
@@ -164648,9 +164667,24 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164648
164667
|
var d = c.actualItemBrush != null ? c.actualItemBrush : c.itemBrush;
|
|
164649
164668
|
return AppearanceHelper.b(d);
|
|
164650
164669
|
};
|
|
164651
|
-
LegendBaseView.prototype.
|
|
164670
|
+
LegendBaseView.prototype.b = function (a) {
|
|
164671
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
164672
|
+
return null;
|
|
164673
|
+
}
|
|
164674
|
+
var b = this.c.at._inner[a];
|
|
164675
|
+
if (b == null) {
|
|
164676
|
+
return null;
|
|
164677
|
+
}
|
|
164678
|
+
var c = b.content;
|
|
164679
|
+
if (c == null) {
|
|
164680
|
+
return null;
|
|
164681
|
+
}
|
|
164682
|
+
var d = c.outline;
|
|
164683
|
+
return AppearanceHelper.b(d);
|
|
164684
|
+
};
|
|
164685
|
+
LegendBaseView.prototype.g = function () {
|
|
164652
164686
|
var a = new LegendVisualData();
|
|
164653
|
-
var b = this.
|
|
164687
|
+
var b = this.d.l;
|
|
164654
164688
|
var c = b.getChildCount();
|
|
164655
164689
|
for (var d = 0; d < c; d++) {
|
|
164656
164690
|
var e = new LegendItemVisualData();
|
|
@@ -164658,12 +164692,15 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164658
164692
|
e.label = f.getText();
|
|
164659
164693
|
e.label = e.label != null ? e.label.trim() : null;
|
|
164660
164694
|
e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
164661
|
-
e.labelBounds = this.
|
|
164662
|
-
e.badgeBounds = this.
|
|
164695
|
+
e.labelBounds = this.i(f);
|
|
164696
|
+
e.badgeBounds = this.h(f);
|
|
164697
|
+
e.appearance.fill = this.a(d);
|
|
164698
|
+
e.appearance.stroke = this.b(d);
|
|
164663
164699
|
a.items.add(e);
|
|
164664
164700
|
}
|
|
164665
|
-
for (var g = 0; g < this.
|
|
164701
|
+
for (var g = 0; g < this.c.at.count; g++) {
|
|
164666
164702
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
164703
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
164667
164704
|
}
|
|
164668
164705
|
return a;
|
|
164669
164706
|
};
|
|
@@ -164729,7 +164766,7 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164729
164766
|
try {
|
|
164730
164767
|
for (var _c = __values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
164731
164768
|
var c = _d.value;
|
|
164732
|
-
_this.bc.
|
|
164769
|
+
_this.bc.ao(c);
|
|
164733
164770
|
}
|
|
164734
164771
|
}
|
|
164735
164772
|
catch (e_1_1) {
|
|
@@ -164750,7 +164787,7 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164750
164787
|
try {
|
|
164751
164788
|
for (var _e = __values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
164752
164789
|
var d = _f.value;
|
|
164753
|
-
_this.bc.
|
|
164790
|
+
_this.bc.y(d);
|
|
164754
164791
|
}
|
|
164755
164792
|
}
|
|
164756
164793
|
catch (e_2_1) {
|
|
@@ -164798,7 +164835,7 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164798
164835
|
var e = void 0;
|
|
164799
164836
|
var f = void 0;
|
|
164800
164837
|
var g = void 0;
|
|
164801
|
-
var h = this.ak.
|
|
164838
|
+
var h = this.ak.ab(d, e, f, g);
|
|
164802
164839
|
e = h.p1;
|
|
164803
164840
|
f = h.p2;
|
|
164804
164841
|
g = h.p3;
|
|
@@ -164854,10 +164891,10 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164854
164891
|
};
|
|
164855
164892
|
Object.defineProperty(Legend.prototype, "bb", {
|
|
164856
164893
|
get: function () {
|
|
164857
|
-
return this.ak.
|
|
164894
|
+
return this.ak.l ? 0 : 1;
|
|
164858
164895
|
},
|
|
164859
164896
|
set: function (a) {
|
|
164860
|
-
this.ak.
|
|
164897
|
+
this.ak.l = a == 0;
|
|
164861
164898
|
},
|
|
164862
164899
|
enumerable: false,
|
|
164863
164900
|
configurable: true
|
|
@@ -164867,20 +164904,20 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164867
164904
|
};
|
|
164868
164905
|
Object.defineProperty(Legend.prototype, "bh", {
|
|
164869
164906
|
get: function () {
|
|
164870
|
-
return this.ak.
|
|
164907
|
+
return this.ak.w;
|
|
164871
164908
|
},
|
|
164872
164909
|
set: function (a) {
|
|
164873
|
-
this.ak.
|
|
164910
|
+
this.ak.w = a;
|
|
164874
164911
|
},
|
|
164875
164912
|
enumerable: false,
|
|
164876
164913
|
configurable: true
|
|
164877
164914
|
});
|
|
164878
164915
|
Object.defineProperty(Legend.prototype, "bi", {
|
|
164879
164916
|
get: function () {
|
|
164880
|
-
return this.ak.
|
|
164917
|
+
return this.ak.x;
|
|
164881
164918
|
},
|
|
164882
164919
|
set: function (a) {
|
|
164883
|
-
this.ak.
|
|
164920
|
+
this.ak.x = a;
|
|
164884
164921
|
},
|
|
164885
164922
|
enumerable: false,
|
|
164886
164923
|
configurable: true
|
|
@@ -164895,12 +164932,12 @@ var LegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164895
164932
|
__extends(LegendView, _super);
|
|
164896
164933
|
function LegendView(a) {
|
|
164897
164934
|
var _this = _super.call(this, a) || this;
|
|
164898
|
-
_this.
|
|
164899
|
-
_this.
|
|
164935
|
+
_this.ap = null;
|
|
164936
|
+
_this.ap = a;
|
|
164900
164937
|
return _this;
|
|
164901
164938
|
}
|
|
164902
|
-
LegendView.prototype.
|
|
164903
|
-
_super.prototype.
|
|
164939
|
+
LegendView.prototype.al = function () {
|
|
164940
|
+
_super.prototype.al.call(this);
|
|
164904
164941
|
};
|
|
164905
164942
|
LegendView.$t = markType(LegendView, 'LegendView', LegendBaseView.$);
|
|
164906
164943
|
return LegendView;
|
|
@@ -165084,7 +165121,7 @@ var FinancialLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
165084
165121
|
try {
|
|
165085
165122
|
for (var _c = __values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
165086
165123
|
var c = _d.value;
|
|
165087
|
-
_this.bb.
|
|
165124
|
+
_this.bb.ao(c);
|
|
165088
165125
|
}
|
|
165089
165126
|
}
|
|
165090
165127
|
catch (e_1_1) {
|
|
@@ -165105,7 +165142,7 @@ var FinancialLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
165105
165142
|
try {
|
|
165106
165143
|
for (var _e = __values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
165107
165144
|
var d = _f.value;
|
|
165108
|
-
_this.bb.
|
|
165145
|
+
_this.bb.y(d);
|
|
165109
165146
|
}
|
|
165110
165147
|
}
|
|
165111
165148
|
catch (e_2_1) {
|
|
@@ -165151,7 +165188,7 @@ var FinancialLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
165151
165188
|
__extends(FinancialLegendView, _super);
|
|
165152
165189
|
function FinancialLegendView(a) {
|
|
165153
165190
|
var _this = _super.call(this, a) || this;
|
|
165154
|
-
_this.
|
|
165191
|
+
_this.d = new FinancialLegendViewManager(_this);
|
|
165155
165192
|
return _this;
|
|
165156
165193
|
}
|
|
165157
165194
|
FinancialLegendView.$t = markType(FinancialLegendView, 'FinancialLegendView', LegendBaseView.$);
|
|
@@ -202527,8 +202564,9 @@ var ScatterBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
202527
202564
|
for (var ac = 0; ac < this.yo.c.count; ac++) {
|
|
202528
202565
|
t = v.item(ac);
|
|
202529
202566
|
u = w.item(ac);
|
|
202567
|
+
var ad = 1E-10;
|
|
202530
202568
|
if (x) {
|
|
202531
|
-
if (t >= k && t <= l && u >= m && u <= n) {
|
|
202569
|
+
if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
|
|
202532
202570
|
c[ac].x = r.ek(t, h);
|
|
202533
202571
|
c[ac].y = s.ek(u, i);
|
|
202534
202572
|
}
|
|
@@ -202544,7 +202582,7 @@ var ScatterBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
202544
202582
|
}
|
|
202545
202583
|
}
|
|
202546
202584
|
else {
|
|
202547
|
-
if (t >= k && t <= l && u >= m && u <= n) {
|
|
202585
|
+
if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
|
|
202548
202586
|
c[ac].x = r.ek(t, h);
|
|
202549
202587
|
c[ac].y = s.ek(u, i);
|
|
202550
202588
|
}
|
|
@@ -235629,7 +235667,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235629
235667
|
try {
|
|
235630
235668
|
for (var _c = __values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
235631
235669
|
var c = _d.value;
|
|
235632
|
-
_this.bb.
|
|
235670
|
+
_this.bb.ao(c);
|
|
235633
235671
|
}
|
|
235634
235672
|
}
|
|
235635
235673
|
catch (e_1_1) {
|
|
@@ -235650,7 +235688,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235650
235688
|
try {
|
|
235651
235689
|
for (var _e = __values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
235652
235690
|
var d = _f.value;
|
|
235653
|
-
_this.bb.
|
|
235691
|
+
_this.bb.y(d);
|
|
235654
235692
|
}
|
|
235655
235693
|
}
|
|
235656
235694
|
catch (e_2_1) {
|
|
@@ -235678,7 +235716,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235678
235716
|
this.bb = a;
|
|
235679
235717
|
};
|
|
235680
235718
|
ItemLegend.prototype.addChildInOrder = function (a, b) {
|
|
235681
|
-
if (!this.ak.
|
|
235719
|
+
if (!this.ak.n()) {
|
|
235682
235720
|
return;
|
|
235683
235721
|
}
|
|
235684
235722
|
this.bl(b);
|
|
@@ -235691,7 +235729,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235691
235729
|
};
|
|
235692
235730
|
ItemLegend.prototype.a0 = function (a, b) {
|
|
235693
235731
|
var e_3, _a;
|
|
235694
|
-
this.ak.
|
|
235732
|
+
this.ak.ag();
|
|
235695
235733
|
this.clearLegendItemsForSeries(b);
|
|
235696
235734
|
if (b == null || a == null || a.count == 0) {
|
|
235697
235735
|
return;
|
|
@@ -235731,14 +235769,14 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235731
235769
|
throw e_3.error;
|
|
235732
235770
|
}
|
|
235733
235771
|
}
|
|
235734
|
-
this.ak.
|
|
235772
|
+
this.ak.ah();
|
|
235735
235773
|
};
|
|
235736
235774
|
ItemLegend.prototype.createLegendItemsInsert = function (a, b) {
|
|
235737
235775
|
this.bk(a, b);
|
|
235738
235776
|
};
|
|
235739
235777
|
ItemLegend.prototype.bk = function (a, b) {
|
|
235740
235778
|
var e_4, _a;
|
|
235741
|
-
this.ak.
|
|
235779
|
+
this.ak.ag();
|
|
235742
235780
|
try {
|
|
235743
235781
|
var c = this.bf(b);
|
|
235744
235782
|
if (b == null || a == null || a.count == 0) {
|
|
@@ -235777,7 +235815,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235777
235815
|
}
|
|
235778
235816
|
}
|
|
235779
235817
|
finally {
|
|
235780
|
-
this.ak.
|
|
235818
|
+
this.ak.ah();
|
|
235781
235819
|
}
|
|
235782
235820
|
};
|
|
235783
235821
|
ItemLegend.prototype.renderItemwiseContent = function (a) {
|
|
@@ -235906,34 +235944,34 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235906
235944
|
return c;
|
|
235907
235945
|
};
|
|
235908
235946
|
ItemLegend.prototype.be = function (a) {
|
|
235909
|
-
return this.bb.
|
|
235947
|
+
return this.bb.aq(a);
|
|
235910
235948
|
};
|
|
235911
235949
|
Object.defineProperty(ItemLegend.prototype, "bc", {
|
|
235912
235950
|
get: function () {
|
|
235913
|
-
return this.ak.
|
|
235951
|
+
return this.ak.l ? 0 : 1;
|
|
235914
235952
|
},
|
|
235915
235953
|
set: function (a) {
|
|
235916
|
-
this.ak.
|
|
235954
|
+
this.ak.l = a == 0;
|
|
235917
235955
|
},
|
|
235918
235956
|
enumerable: false,
|
|
235919
235957
|
configurable: true
|
|
235920
235958
|
});
|
|
235921
235959
|
Object.defineProperty(ItemLegend.prototype, "bi", {
|
|
235922
235960
|
get: function () {
|
|
235923
|
-
return this.ak.
|
|
235961
|
+
return this.ak.w;
|
|
235924
235962
|
},
|
|
235925
235963
|
set: function (a) {
|
|
235926
|
-
this.ak.
|
|
235964
|
+
this.ak.w = a;
|
|
235927
235965
|
},
|
|
235928
235966
|
enumerable: false,
|
|
235929
235967
|
configurable: true
|
|
235930
235968
|
});
|
|
235931
235969
|
Object.defineProperty(ItemLegend.prototype, "bj", {
|
|
235932
235970
|
get: function () {
|
|
235933
|
-
return this.ak.
|
|
235971
|
+
return this.ak.x;
|
|
235934
235972
|
},
|
|
235935
235973
|
set: function (a) {
|
|
235936
|
-
this.ak.
|
|
235974
|
+
this.ak.x = a;
|
|
235937
235975
|
},
|
|
235938
235976
|
enumerable: false,
|
|
235939
235977
|
configurable: true
|
|
@@ -235948,22 +235986,22 @@ var ItemLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235948
235986
|
__extends(ItemLegendView, _super);
|
|
235949
235987
|
function ItemLegendView(a) {
|
|
235950
235988
|
var _this = _super.call(this, a) || this;
|
|
235951
|
-
_this.
|
|
235952
|
-
_this.
|
|
235989
|
+
_this.ap = null;
|
|
235990
|
+
_this.ap = a;
|
|
235953
235991
|
return _this;
|
|
235954
235992
|
}
|
|
235955
|
-
ItemLegendView.prototype.
|
|
235956
|
-
_super.prototype.
|
|
235993
|
+
ItemLegendView.prototype.al = function () {
|
|
235994
|
+
_super.prototype.al.call(this);
|
|
235957
235995
|
};
|
|
235958
|
-
ItemLegendView.prototype.
|
|
235996
|
+
ItemLegendView.prototype.get_k = function () {
|
|
235959
235997
|
return true;
|
|
235960
235998
|
};
|
|
235961
|
-
ItemLegendView.prototype.
|
|
235962
|
-
return this.
|
|
235999
|
+
ItemLegendView.prototype.aq = function (a) {
|
|
236000
|
+
return this.d.e(a);
|
|
235963
236001
|
};
|
|
235964
|
-
ItemLegendView.prototype.
|
|
236002
|
+
ItemLegendView.prototype.g = function () {
|
|
235965
236003
|
var a = new LegendVisualData();
|
|
235966
|
-
var b = this.
|
|
236004
|
+
var b = this.d.g.rootWrapper;
|
|
235967
236005
|
b = b.getChildAt(0);
|
|
235968
236006
|
var c = b.getChildCount();
|
|
235969
236007
|
for (var d = 0; d < c; d++) {
|
|
@@ -235972,13 +236010,14 @@ var ItemLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235972
236010
|
e.label = f.getText();
|
|
235973
236011
|
e.label = e.label != null ? e.label.trim() : null;
|
|
235974
236012
|
e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
235975
|
-
e.labelBounds = this.
|
|
235976
|
-
e.badgeBounds = this.
|
|
236013
|
+
e.labelBounds = this.i(f);
|
|
236014
|
+
e.badgeBounds = this.h(f);
|
|
235977
236015
|
a.items.add(e);
|
|
235978
236016
|
}
|
|
235979
236017
|
if (c == a.items.count) {
|
|
235980
236018
|
for (var g = 0; g < c; g++) {
|
|
235981
236019
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
236020
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
235982
236021
|
}
|
|
235983
236022
|
}
|
|
235984
236023
|
return a;
|
|
@@ -236237,21 +236276,21 @@ var ScaleLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
236237
236276
|
};
|
|
236238
236277
|
Object.defineProperty(ScaleLegend.prototype, "legendScaleElement", {
|
|
236239
236278
|
get: function () {
|
|
236240
|
-
return this.bd.
|
|
236279
|
+
return this.bd.bb;
|
|
236241
236280
|
},
|
|
236242
236281
|
enumerable: false,
|
|
236243
236282
|
configurable: true
|
|
236244
236283
|
});
|
|
236245
236284
|
Object.defineProperty(ScaleLegend.prototype, "minText", {
|
|
236246
236285
|
get: function () {
|
|
236247
|
-
return this.bd.
|
|
236286
|
+
return this.bd.a7;
|
|
236248
236287
|
},
|
|
236249
236288
|
enumerable: false,
|
|
236250
236289
|
configurable: true
|
|
236251
236290
|
});
|
|
236252
236291
|
Object.defineProperty(ScaleLegend.prototype, "maxText", {
|
|
236253
236292
|
get: function () {
|
|
236254
|
-
return this.bd.
|
|
236293
|
+
return this.bd.a6;
|
|
236255
236294
|
},
|
|
236256
236295
|
enumerable: false,
|
|
236257
236296
|
configurable: true
|
|
@@ -236267,14 +236306,14 @@ var ScaleLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
236267
236306
|
configurable: true
|
|
236268
236307
|
});
|
|
236269
236308
|
ScaleLegend.prototype.bi = function () {
|
|
236270
|
-
this.bd.
|
|
236309
|
+
this.bd.a3();
|
|
236271
236310
|
};
|
|
236272
236311
|
ScaleLegend.prototype.restoreOriginalState = function () {
|
|
236273
236312
|
this.bi();
|
|
236274
236313
|
};
|
|
236275
236314
|
ScaleLegend.prototype.bl = function (a) {
|
|
236276
236315
|
if (a == null) {
|
|
236277
|
-
return this.bd.
|
|
236316
|
+
return this.bd.ba();
|
|
236278
236317
|
}
|
|
236279
236318
|
return ColorUtil.v(a);
|
|
236280
236319
|
};
|
|
@@ -236299,11 +236338,11 @@ var ScaleLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
236299
236338
|
var a = false;
|
|
236300
236339
|
var b = typeCast(Shape.$, this.legendScaleElement);
|
|
236301
236340
|
if (b != null) {
|
|
236302
|
-
var c_1 = this.bd.
|
|
236303
|
-
if (!this.bc.forScaleColors(function (d, e) { return _this.bd.
|
|
236341
|
+
var c_1 = this.bd.ax();
|
|
236342
|
+
if (!this.bc.forScaleColors(function (d, e) { return _this.bd.az(c_1, _this.bl(d), e); })) {
|
|
236304
236343
|
a = true;
|
|
236305
236344
|
}
|
|
236306
|
-
this.bd.
|
|
236345
|
+
this.bd.a4(b, a, c_1);
|
|
236307
236346
|
}
|
|
236308
236347
|
if (this.minText != null) {
|
|
236309
236348
|
this.minText.al = this.bc.minScaleText;
|
|
@@ -236322,34 +236361,34 @@ var ScaleLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
236322
236361
|
__extends(ScaleLegendView, _super);
|
|
236323
236362
|
function ScaleLegendView(a) {
|
|
236324
236363
|
var _this = _super.call(this, a) || this;
|
|
236325
|
-
_this.ap = null;
|
|
236326
|
-
_this.ba = null;
|
|
236327
|
-
_this.a6 = null;
|
|
236328
|
-
_this.a5 = null;
|
|
236329
|
-
_this.ao = null;
|
|
236330
236364
|
_this.aq = null;
|
|
236331
|
-
_this.bb =
|
|
236332
|
-
_this.ar = false;
|
|
236333
|
-
_this.as = 0;
|
|
236334
|
-
_this.a8 = null;
|
|
236365
|
+
_this.bb = null;
|
|
236335
236366
|
_this.a7 = null;
|
|
236336
|
-
_this.
|
|
236367
|
+
_this.a6 = null;
|
|
236368
|
+
_this.ap = null;
|
|
236369
|
+
_this.ar = null;
|
|
236370
|
+
_this.bc = new Size();
|
|
236371
|
+
_this.as = false;
|
|
236372
|
+
_this.at = 0;
|
|
236373
|
+
_this.a9 = null;
|
|
236374
|
+
_this.a8 = null;
|
|
236375
|
+
_this.aq = a;
|
|
236376
|
+
_this.a7 = new TextBlock();
|
|
236337
236377
|
_this.a6 = new TextBlock();
|
|
236338
|
-
_this.
|
|
236339
|
-
_this.ba = new Polygon();
|
|
236378
|
+
_this.bb = new Polygon();
|
|
236340
236379
|
return _this;
|
|
236341
236380
|
}
|
|
236342
|
-
ScaleLegendView.prototype.
|
|
236381
|
+
ScaleLegendView.prototype.a3 = function () {
|
|
236343
236382
|
};
|
|
236344
|
-
ScaleLegendView.prototype.
|
|
236383
|
+
ScaleLegendView.prototype.aa = function () {
|
|
236345
236384
|
};
|
|
236346
|
-
ScaleLegendView.prototype.
|
|
236385
|
+
ScaleLegendView.prototype.ba = function () {
|
|
236347
236386
|
return Color.u(0, 0, 0, 0);
|
|
236348
236387
|
};
|
|
236349
|
-
ScaleLegendView.prototype.
|
|
236388
|
+
ScaleLegendView.prototype.ax = function () {
|
|
236350
236389
|
return new GradientData();
|
|
236351
236390
|
};
|
|
236352
|
-
ScaleLegendView.prototype.
|
|
236391
|
+
ScaleLegendView.prototype.az = function (a, b, c) {
|
|
236353
236392
|
var d = a;
|
|
236354
236393
|
d.a.add(((function () {
|
|
236355
236394
|
var $ret = new GradientStopData();
|
|
@@ -236362,77 +236401,77 @@ var ScaleLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
236362
236401
|
return $ret;
|
|
236363
236402
|
})()));
|
|
236364
236403
|
};
|
|
236365
|
-
ScaleLegendView.prototype.
|
|
236404
|
+
ScaleLegendView.prototype.a4 = function (a, b, c) {
|
|
236366
236405
|
if (b) {
|
|
236367
|
-
this.
|
|
236368
|
-
this.
|
|
236406
|
+
this.a8 = this.aq.bc.actualMarkerBrush;
|
|
236407
|
+
this.ap = null;
|
|
236369
236408
|
}
|
|
236370
236409
|
else {
|
|
236371
|
-
this.
|
|
236372
|
-
this.
|
|
236373
|
-
this.
|
|
236410
|
+
this.a8 = null;
|
|
236411
|
+
this.ap = c;
|
|
236412
|
+
this.ap.b();
|
|
236374
236413
|
}
|
|
236375
|
-
this.
|
|
236414
|
+
this.a0();
|
|
236376
236415
|
};
|
|
236377
|
-
ScaleLegendView.prototype.
|
|
236378
|
-
_super.prototype.
|
|
236379
|
-
this.
|
|
236380
|
-
this.
|
|
236381
|
-
this.
|
|
236416
|
+
ScaleLegendView.prototype.aj = function (a) {
|
|
236417
|
+
_super.prototype.aj.call(this, a);
|
|
236418
|
+
this.ar = this.d.b(a);
|
|
236419
|
+
this.bc = this.d.ab();
|
|
236420
|
+
this.a0();
|
|
236382
236421
|
};
|
|
236383
|
-
ScaleLegendView.prototype.
|
|
236384
|
-
if (!this.
|
|
236385
|
-
this.
|
|
236386
|
-
if (this.
|
|
236387
|
-
this.
|
|
236422
|
+
ScaleLegendView.prototype.a0 = function () {
|
|
236423
|
+
if (!this.as) {
|
|
236424
|
+
this.as = true;
|
|
236425
|
+
if (this.d.g != null) {
|
|
236426
|
+
this.d.g.setTimeout(runOn(this, this.a5), 0);
|
|
236388
236427
|
}
|
|
236389
236428
|
else {
|
|
236390
|
-
window.setTimeout(runOn(this, this.
|
|
236429
|
+
window.setTimeout(runOn(this, this.a5), 0);
|
|
236391
236430
|
}
|
|
236392
236431
|
}
|
|
236393
236432
|
};
|
|
236394
|
-
ScaleLegendView.prototype.
|
|
236395
|
-
if (this.
|
|
236396
|
-
this.
|
|
236397
|
-
this.
|
|
236433
|
+
ScaleLegendView.prototype.a5 = function () {
|
|
236434
|
+
if (this.as) {
|
|
236435
|
+
this.as = false;
|
|
236436
|
+
this.a2();
|
|
236398
236437
|
}
|
|
236399
236438
|
};
|
|
236400
|
-
ScaleLegendView.prototype.
|
|
236401
|
-
if (this.
|
|
236439
|
+
ScaleLegendView.prototype.a2 = function () {
|
|
236440
|
+
if (this.ar == null) {
|
|
236402
236441
|
return;
|
|
236403
236442
|
}
|
|
236404
|
-
this.
|
|
236443
|
+
this.a1();
|
|
236405
236444
|
};
|
|
236406
|
-
ScaleLegendView.prototype.
|
|
236445
|
+
ScaleLegendView.prototype.av = function (a) {
|
|
236407
236446
|
var b = typeCast(TextBlock.$, a);
|
|
236408
236447
|
if (b != null && b.al != null) {
|
|
236409
|
-
return this.
|
|
236448
|
+
return this.ar.f(b) + 0;
|
|
236410
236449
|
}
|
|
236411
236450
|
return 0;
|
|
236412
236451
|
};
|
|
236413
|
-
ScaleLegendView.prototype.
|
|
236414
|
-
return this.
|
|
236452
|
+
ScaleLegendView.prototype.au = function (a) {
|
|
236453
|
+
return this.at + 0;
|
|
236415
236454
|
};
|
|
236416
|
-
ScaleLegendView.prototype.
|
|
236417
|
-
if (this.
|
|
236455
|
+
ScaleLegendView.prototype.a1 = function () {
|
|
236456
|
+
if (this.aq.bc == null || this.aq.bc.container == null || (this.ap == null && this.a8 == null)) {
|
|
236418
236457
|
return;
|
|
236419
236458
|
}
|
|
236420
|
-
if (this.
|
|
236421
|
-
var a = typeCast(IInternalLegendOwner_$type, this.
|
|
236422
|
-
this.
|
|
236423
|
-
this.
|
|
236424
|
-
this.
|
|
236425
|
-
var b = this.
|
|
236426
|
-
var c = this.
|
|
236459
|
+
if (this.ar.d) {
|
|
236460
|
+
var a = typeCast(IInternalLegendOwner_$type, this.aq.bc.container);
|
|
236461
|
+
this.ar.ad(a.getFontInfo());
|
|
236462
|
+
this.at = a.getFontHeight();
|
|
236463
|
+
this.a9 = a.getFontBrush();
|
|
236464
|
+
var b = this.av(this.a7);
|
|
236465
|
+
var c = this.av(this.a6);
|
|
236427
236466
|
var d = Math.max(b, c) + 4;
|
|
236428
|
-
if (d >= this.
|
|
236467
|
+
if (d >= this.bc.width) {
|
|
236429
236468
|
d = 0;
|
|
236430
236469
|
}
|
|
236431
|
-
var e = this.
|
|
236470
|
+
var e = this.bc.width - d;
|
|
236432
236471
|
var f = 2;
|
|
236433
236472
|
var g = 2;
|
|
236434
236473
|
e = e - 4;
|
|
236435
|
-
var h = this.
|
|
236474
|
+
var h = this.bc.height - 4;
|
|
236436
236475
|
var i = f + e + 4;
|
|
236437
236476
|
var j = g;
|
|
236438
236477
|
var k = h;
|
|
@@ -236440,36 +236479,36 @@ var ScaleLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
236440
236479
|
var m = { $type: Point_$type, x: f + (5 / 5) * e, y: g };
|
|
236441
236480
|
var n = { $type: Point_$type, x: f + (5 / 5) * e, y: h };
|
|
236442
236481
|
var o = { $type: Point_$type, x: f, y: h };
|
|
236443
|
-
var p = this.
|
|
236482
|
+
var p = this.bb;
|
|
236444
236483
|
p.an.clear();
|
|
236445
236484
|
p.an.add(l);
|
|
236446
236485
|
p.an.add(m);
|
|
236447
236486
|
p.an.add(n);
|
|
236448
236487
|
p.an.add(o);
|
|
236488
|
+
this.a7.n = i;
|
|
236489
|
+
this.a7.o = j;
|
|
236490
|
+
this.a7.ao = this.a9;
|
|
236449
236491
|
this.a6.n = i;
|
|
236450
|
-
this.a6.o = j;
|
|
236451
|
-
this.a6.ao = this.
|
|
236452
|
-
this.
|
|
236453
|
-
|
|
236454
|
-
|
|
236455
|
-
if (
|
|
236456
|
-
|
|
236457
|
-
|
|
236458
|
-
if (this.ao == null && this.a7 != null) {
|
|
236459
|
-
p._fill = this.a7;
|
|
236460
|
-
this.aq.u(p);
|
|
236492
|
+
this.a6.o = j + k - (this.au(this.a7));
|
|
236493
|
+
this.a6.ao = this.a9;
|
|
236494
|
+
if (!this.ar.e) {
|
|
236495
|
+
this.ar.l(0, 0, this.bc.width, this.bc.height);
|
|
236496
|
+
}
|
|
236497
|
+
if (this.ap == null && this.a8 != null) {
|
|
236498
|
+
p._fill = this.a8;
|
|
236499
|
+
this.ar.u(p);
|
|
236461
236500
|
}
|
|
236462
236501
|
else {
|
|
236463
|
-
this.
|
|
236502
|
+
this.d.y(this.ar, p, this.ap, new Rect(0, g, f, e, h));
|
|
236464
236503
|
}
|
|
236465
236504
|
if (d > 0) {
|
|
236466
|
-
this.
|
|
236467
|
-
this.
|
|
236505
|
+
this.ar.x(this.a7);
|
|
236506
|
+
this.ar.x(this.a6);
|
|
236468
236507
|
}
|
|
236469
236508
|
}
|
|
236470
236509
|
};
|
|
236471
|
-
ScaleLegendView.prototype.
|
|
236472
|
-
_super.prototype.
|
|
236510
|
+
ScaleLegendView.prototype.am = function () {
|
|
236511
|
+
_super.prototype.am.call(this);
|
|
236473
236512
|
};
|
|
236474
236513
|
ScaleLegendView.$t = markType(ScaleLegendView, 'ScaleLegendView', LegendBaseView.$);
|
|
236475
236514
|
return ScaleLegendView;
|