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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
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.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { Type, markEnum, Base, markType, FrameworkElement, PropertyChangedEventArgs, PropertyUpdatedEventArgs, 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, Control, SRProvider, DVContainer, ICommandStateChangedListener_$type, VersionQueueHelper, Dictionary$2, String_$type, IDataLegend_$type, Point_$type, dateNow, CanvasRenderScheduler, runOn, delegateCombine, DoubleAnimator, 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, 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, Panel, RectUtil, TransformGroup, AngleSimplifier, RotateTransform, TranslateTransform, TransformMatrixHelpler, 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, IgCollection, SyncableObservableCollection$2, IgcHTMLElement, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal, fromDoubleCollection, toDoubleCollection, doubleCollectionToString, ensureEnum, enumToString, SyncableObservableCollection$1, initializePropertiesFromCss, 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,
|
|
8
|
+
import { Type, markEnum, Base, markType, FrameworkElement, PropertyChangedEventArgs, PropertyUpdatedEventArgs, 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, Control, SRProvider, DVContainer, ICommandStateChangedListener_$type, VersionQueueHelper, Dictionary$2, String_$type, IDataLegend_$type, Point_$type, dateNow, CanvasRenderScheduler, runOn, delegateCombine, DoubleAnimator, 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, 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, Panel, RectUtil, TransformGroup, AngleSimplifier, RotateTransform, TranslateTransform, TransformMatrixHelpler, 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, IgCollection, SyncableObservableCollection$2, IgcHTMLElement, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal, fromDoubleCollection, toDoubleCollection, doubleCollectionToString, ensureEnum, enumToString, SyncableObservableCollection$1, initializePropertiesFromCss, 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';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
11
|
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
@@ -46922,6 +46922,7 @@ let DataLegendVisualDataRow = /*@__PURE__*/ (() => {
|
|
|
46922
46922
|
this._badgeMarginRight = 0;
|
|
46923
46923
|
this._badgeMarginBottom = 0;
|
|
46924
46924
|
this._badgeShape = null;
|
|
46925
|
+
this._badgeAppearance = null;
|
|
46925
46926
|
this._rowBounds = null;
|
|
46926
46927
|
this._rowMarginLeft = 0;
|
|
46927
46928
|
this._rowMarginTop = 0;
|
|
@@ -46978,6 +46979,12 @@ let DataLegendVisualDataRow = /*@__PURE__*/ (() => {
|
|
|
46978
46979
|
set badgeShape(a) {
|
|
46979
46980
|
this._badgeShape = a;
|
|
46980
46981
|
}
|
|
46982
|
+
get badgeAppearance() {
|
|
46983
|
+
return this._badgeAppearance;
|
|
46984
|
+
}
|
|
46985
|
+
set badgeAppearance(a) {
|
|
46986
|
+
this._badgeAppearance = a;
|
|
46987
|
+
}
|
|
46981
46988
|
get rowBounds() {
|
|
46982
46989
|
return this._rowBounds;
|
|
46983
46990
|
}
|
|
@@ -47013,33 +47020,36 @@ let DataLegendVisualDataRow = /*@__PURE__*/ (() => {
|
|
|
47013
47020
|
let b = " ";
|
|
47014
47021
|
let c = new StringBuilder(0);
|
|
47015
47022
|
c.u("{");
|
|
47016
|
-
c.u(b + this.
|
|
47017
|
-
c.u(b + this.
|
|
47018
|
-
c.u(b + this.
|
|
47019
|
-
c.u(b + this.
|
|
47023
|
+
c.u(b + this.o("badgeMarginLeft") + this.badgeMarginLeft + a);
|
|
47024
|
+
c.u(b + this.o("badgeMarginTop") + this.badgeMarginTop + a);
|
|
47025
|
+
c.u(b + this.o("badgeMarginRight") + this.badgeMarginRight + a);
|
|
47026
|
+
c.u(b + this.o("badgeMarginBottom") + this.badgeMarginBottom + a);
|
|
47020
47027
|
if (this.badgeBounds == null) {
|
|
47021
|
-
c.u(b + this.
|
|
47028
|
+
c.u(b + this.o("badgeBounds") + "{}" + a);
|
|
47022
47029
|
}
|
|
47023
47030
|
else {
|
|
47024
|
-
c.u(b + this.
|
|
47031
|
+
c.u(b + this.o("badgeBounds") + DataLegendVisualData.serialize1(this.badgeBounds) + a);
|
|
47025
47032
|
}
|
|
47026
|
-
c.u(b + this.
|
|
47027
|
-
|
|
47028
|
-
|
|
47029
|
-
|
|
47030
|
-
c.u(b + this.
|
|
47031
|
-
c.u(b + this.
|
|
47033
|
+
c.u(b + this.o("badgeShape") + DataLegendVisualData.serialize1(this.badgeShape) + a);
|
|
47034
|
+
if (this.badgeAppearance != null) {
|
|
47035
|
+
c.u(b + this.o("badgeAppearance") + this.badgeAppearance.serialize() + a);
|
|
47036
|
+
}
|
|
47037
|
+
c.u(b + this.o("rowBounds") + DataLegendVisualData.serialize1(this.rowBounds) + a);
|
|
47038
|
+
c.u(b + this.o("rowMarginLeft") + this.rowMarginLeft + a);
|
|
47039
|
+
c.u(b + this.o("rowMarginTop") + this.rowMarginTop + a);
|
|
47040
|
+
c.u(b + this.o("rowMarginRight") + this.rowMarginRight + a);
|
|
47041
|
+
c.u(b + this.o("rowMarginBottom") + this.rowMarginBottom + a);
|
|
47032
47042
|
let d = new List$1(String_$type, 0);
|
|
47033
47043
|
for (let e of fromEnum(this.columns)) {
|
|
47034
47044
|
d.add(e.serialize());
|
|
47035
47045
|
}
|
|
47036
|
-
c.u(b + this.
|
|
47046
|
+
c.u(b + this.o("columns") + "[");
|
|
47037
47047
|
c.u(b + b + stringJoin(", \n" + b + b, ...d.toArray()));
|
|
47038
47048
|
c.u(b + "]");
|
|
47039
47049
|
c.u("}");
|
|
47040
47050
|
return c.toString();
|
|
47041
47051
|
}
|
|
47042
|
-
|
|
47052
|
+
o(a) {
|
|
47043
47053
|
return a + ": ";
|
|
47044
47054
|
}
|
|
47045
47055
|
}
|
|
@@ -48505,6 +48515,11 @@ let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
48505
48515
|
l.badgeMarginBottom = k.z.bottom;
|
|
48506
48516
|
l.badgeMarginRight = k.z.right;
|
|
48507
48517
|
l.badgeMarginLeft = k.z.left;
|
|
48518
|
+
l.badgeAppearance = new PrimitiveAppearanceData();
|
|
48519
|
+
let aa = typeCast(ILegendContext_$type, k.n);
|
|
48520
|
+
let ab = typeCast(ILegendContext_$type, k.i);
|
|
48521
|
+
l.badgeAppearance.fill = AppearanceHelper.b(aa.actualItemBrush);
|
|
48522
|
+
l.badgeAppearance.stroke = AppearanceHelper.b(aa.outline);
|
|
48508
48523
|
l.badgeShape = k.o;
|
|
48509
48524
|
}
|
|
48510
48525
|
l.rowBounds = RectData.b(m);
|
|
@@ -139896,7 +139911,7 @@ let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
139896
139911
|
let a = LegendItemHelper.b;
|
|
139897
139912
|
if (window.devicePixelRatio != undefined && (isNaN_(a) || window.devicePixelRatio != a)) {
|
|
139898
139913
|
LegendItemHelper.b = window.devicePixelRatio;
|
|
139899
|
-
this.a.
|
|
139914
|
+
this.a.am();
|
|
139900
139915
|
}
|
|
139901
139916
|
}
|
|
139902
139917
|
u() {
|
|
@@ -139912,7 +139927,7 @@ let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
139912
139927
|
}
|
|
139913
139928
|
this.g = a;
|
|
139914
139929
|
this.l = this.i();
|
|
139915
|
-
this.l.addClass(this.a.
|
|
139930
|
+
this.l.addClass(this.a.t);
|
|
139916
139931
|
this.g.append(this.l);
|
|
139917
139932
|
}
|
|
139918
139933
|
i() {
|
|
@@ -139920,8 +139935,8 @@ let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
139920
139935
|
}
|
|
139921
139936
|
h() {
|
|
139922
139937
|
let a = this.g.createElement("tr");
|
|
139923
|
-
a.addClass(this.a.
|
|
139924
|
-
let b = this.a.
|
|
139938
|
+
a.addClass(this.a.u);
|
|
139939
|
+
let b = this.a.l;
|
|
139925
139940
|
if (b) {
|
|
139926
139941
|
a.setStyleProperty("display", "block");
|
|
139927
139942
|
a.setStyleProperty("float", "left");
|
|
@@ -139962,14 +139977,14 @@ let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
139962
139977
|
c.ah.render(h);
|
|
139963
139978
|
let i = d.findByClass(".ui-legend-item-badge");
|
|
139964
139979
|
for (let j = 0; j < i.length; j++) {
|
|
139965
|
-
i[j].removeClass("ui-legend-item-badge").addClass(this.a.
|
|
139980
|
+
i[j].removeClass("ui-legend-item-badge").addClass(this.a.s);
|
|
139966
139981
|
}
|
|
139967
139982
|
i = d.findByClass(".ui-legend-item-text");
|
|
139968
139983
|
for (let k = 0; k < i.length; k++) {
|
|
139969
|
-
if (this.a.
|
|
139984
|
+
if (this.a.l) {
|
|
139970
139985
|
i[k].setStyleProperty("white-space", "nowrap");
|
|
139971
139986
|
}
|
|
139972
|
-
i[k].removeClass("ui-legend-item-text").addClass(this.a.
|
|
139987
|
+
i[k].removeClass("ui-legend-item-text").addClass(this.a.v);
|
|
139973
139988
|
}
|
|
139974
139989
|
}
|
|
139975
139990
|
}
|
|
@@ -139977,10 +139992,10 @@ let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
139977
139992
|
}
|
|
139978
139993
|
o(a, b) {
|
|
139979
139994
|
let c = this.k(a, this.l);
|
|
139980
|
-
c.listen("mouseup", runOn(this.a, this.a.
|
|
139981
|
-
c.listen("mousedown", runOn(this.a, this.a.
|
|
139982
|
-
c.listen("mouseleave", runOn(this.a, this.a.
|
|
139983
|
-
c.listen("mousemove", runOn(this.a, this.a.
|
|
139995
|
+
c.listen("mouseup", runOn(this.a, this.a.af));
|
|
139996
|
+
c.listen("mousedown", runOn(this.a, this.a.ac));
|
|
139997
|
+
c.listen("mouseleave", runOn(this.a, this.a.ad));
|
|
139998
|
+
c.listen("mousemove", runOn(this.a, this.a.ae));
|
|
139984
139999
|
this.f.addItem(a, c);
|
|
139985
140000
|
if ((this.l.getChildCount() == 0) || (b >= this.l.getChildCount())) {
|
|
139986
140001
|
this.l.append(c);
|
|
@@ -140090,10 +140105,10 @@ let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
140090
140105
|
let LegendBase = /*@__PURE__*/ (() => {
|
|
140091
140106
|
class LegendBase extends ContentControl {
|
|
140092
140107
|
onDetachedFromUI() {
|
|
140093
|
-
this.ak.
|
|
140108
|
+
this.ak.ak();
|
|
140094
140109
|
}
|
|
140095
140110
|
onAttachedToUI() {
|
|
140096
|
-
this.ak.
|
|
140111
|
+
this.ak.ai();
|
|
140097
140112
|
}
|
|
140098
140113
|
aj() {
|
|
140099
140114
|
return new LegendBaseView(this);
|
|
@@ -140116,7 +140131,7 @@ let LegendBase = /*@__PURE__*/ (() => {
|
|
|
140116
140131
|
this.legendItemMouseMove = null;
|
|
140117
140132
|
let a = this.aj();
|
|
140118
140133
|
this.a8(a);
|
|
140119
|
-
a.
|
|
140134
|
+
a.al();
|
|
140120
140135
|
this.at = new ObservableCollection$1(UIElement.$, 0);
|
|
140121
140136
|
this.aw = "ig-chart-legend-items-list";
|
|
140122
140137
|
this.ax = "ig-chart-legend-item";
|
|
@@ -140232,34 +140247,34 @@ let LegendBase = /*@__PURE__*/ (() => {
|
|
|
140232
140247
|
}
|
|
140233
140248
|
}
|
|
140234
140249
|
provideContainer(a) {
|
|
140235
|
-
this.ak.
|
|
140250
|
+
this.ak.aj(a);
|
|
140236
140251
|
}
|
|
140237
140252
|
get aw() {
|
|
140238
|
-
return this.ak.
|
|
140253
|
+
return this.ak.t;
|
|
140239
140254
|
}
|
|
140240
140255
|
set aw(a) {
|
|
140241
|
-
this.ak.
|
|
140256
|
+
this.ak.t = a;
|
|
140242
140257
|
}
|
|
140243
140258
|
get ax() {
|
|
140244
|
-
return this.ak.
|
|
140259
|
+
return this.ak.u;
|
|
140245
140260
|
}
|
|
140246
140261
|
set ax(a) {
|
|
140247
|
-
this.ak.
|
|
140262
|
+
this.ak.u = a;
|
|
140248
140263
|
}
|
|
140249
140264
|
get av() {
|
|
140250
|
-
return this.ak.
|
|
140265
|
+
return this.ak.s;
|
|
140251
140266
|
}
|
|
140252
140267
|
set av(a) {
|
|
140253
|
-
this.ak.
|
|
140268
|
+
this.ak.s = a;
|
|
140254
140269
|
}
|
|
140255
140270
|
get ay() {
|
|
140256
|
-
return this.ak.
|
|
140271
|
+
return this.ak.v;
|
|
140257
140272
|
}
|
|
140258
140273
|
set ay(a) {
|
|
140259
|
-
this.ak.
|
|
140274
|
+
this.ak.v = a;
|
|
140260
140275
|
}
|
|
140261
140276
|
exportVisualData() {
|
|
140262
|
-
return this.ak.
|
|
140277
|
+
return this.ak.g();
|
|
140263
140278
|
}
|
|
140264
140279
|
exportSerializedVisualData() {
|
|
140265
140280
|
let a = this.exportVisualData();
|
|
@@ -140282,39 +140297,39 @@ let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
140282
140297
|
class LegendBaseView extends Base {
|
|
140283
140298
|
constructor(a) {
|
|
140284
140299
|
super();
|
|
140300
|
+
this.d = null;
|
|
140285
140301
|
this.c = null;
|
|
140286
|
-
this.b = null;
|
|
140287
|
-
this.s = null;
|
|
140288
140302
|
this.t = null;
|
|
140289
|
-
this.r = null;
|
|
140290
140303
|
this.u = null;
|
|
140291
|
-
this.
|
|
140292
|
-
this.
|
|
140293
|
-
this.
|
|
140304
|
+
this.s = null;
|
|
140305
|
+
this.v = null;
|
|
140306
|
+
this.m = false;
|
|
140307
|
+
this.j = false;
|
|
140294
140308
|
this.q = null;
|
|
140295
|
-
this.
|
|
140296
|
-
this.c =
|
|
140297
|
-
this.
|
|
140309
|
+
this.r = null;
|
|
140310
|
+
this.c = a;
|
|
140311
|
+
this.d = new LegendBaseViewManager(this);
|
|
140312
|
+
this.d.p();
|
|
140298
140313
|
}
|
|
140299
|
-
|
|
140300
|
-
this.
|
|
140314
|
+
ak() {
|
|
140315
|
+
this.d.u();
|
|
140301
140316
|
}
|
|
140302
|
-
|
|
140303
|
-
this.
|
|
140317
|
+
ai() {
|
|
140318
|
+
this.d.s();
|
|
140304
140319
|
}
|
|
140305
|
-
|
|
140320
|
+
al() {
|
|
140306
140321
|
}
|
|
140307
|
-
|
|
140322
|
+
get_k() {
|
|
140308
140323
|
return false;
|
|
140309
140324
|
}
|
|
140310
|
-
get
|
|
140311
|
-
return this.
|
|
140325
|
+
get k() {
|
|
140326
|
+
return this.get_k();
|
|
140312
140327
|
}
|
|
140313
|
-
|
|
140328
|
+
e(a) {
|
|
140314
140329
|
let b;
|
|
140315
140330
|
let c;
|
|
140316
140331
|
let d;
|
|
140317
|
-
let e = this.
|
|
140332
|
+
let e = this.ab(a, b, c, d);
|
|
140318
140333
|
b = e.p1;
|
|
140319
140334
|
c = e.p2;
|
|
140320
140335
|
d = e.p3;
|
|
@@ -140322,11 +140337,11 @@ let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
140322
140337
|
let g = new LegendMouseButtonEventArgs(b, c, d, f, a);
|
|
140323
140338
|
return g;
|
|
140324
140339
|
}
|
|
140325
|
-
|
|
140340
|
+
f(a) {
|
|
140326
140341
|
let b;
|
|
140327
140342
|
let c;
|
|
140328
140343
|
let d;
|
|
140329
|
-
let e = this.
|
|
140344
|
+
let e = this.ab(a, b, c, d);
|
|
140330
140345
|
b = e.p1;
|
|
140331
140346
|
c = e.p2;
|
|
140332
140347
|
d = e.p3;
|
|
@@ -140334,8 +140349,8 @@ let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
140334
140349
|
let g = new LegendMouseEventArgs(b, c, d, f, a);
|
|
140335
140350
|
return g;
|
|
140336
140351
|
}
|
|
140337
|
-
|
|
140338
|
-
b = this.
|
|
140352
|
+
ab(a, b, c, d) {
|
|
140353
|
+
b = this.c.ai;
|
|
140339
140354
|
c = null;
|
|
140340
140355
|
d = null;
|
|
140341
140356
|
if (a != null) {
|
|
@@ -140355,81 +140370,81 @@ let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
140355
140370
|
p3: d
|
|
140356
140371
|
};
|
|
140357
140372
|
}
|
|
140358
|
-
|
|
140373
|
+
aa() {
|
|
140359
140374
|
}
|
|
140360
|
-
|
|
140375
|
+
n() {
|
|
140361
140376
|
return true;
|
|
140362
140377
|
}
|
|
140363
|
-
|
|
140364
|
-
}
|
|
140365
|
-
am(a) {
|
|
140366
|
-
}
|
|
140367
|
-
ai(a) {
|
|
140368
|
-
this.c.t(a);
|
|
140378
|
+
z(a) {
|
|
140369
140379
|
}
|
|
140370
140380
|
an(a) {
|
|
140371
|
-
this.c.x(a);
|
|
140372
140381
|
}
|
|
140373
|
-
|
|
140374
|
-
|
|
140375
|
-
this.c.o(a, b);
|
|
140382
|
+
aj(a) {
|
|
140383
|
+
this.d.t(a);
|
|
140376
140384
|
}
|
|
140377
|
-
|
|
140378
|
-
this.
|
|
140385
|
+
ao(a) {
|
|
140386
|
+
this.d.x(a);
|
|
140379
140387
|
}
|
|
140380
|
-
|
|
140381
|
-
this.c.
|
|
140388
|
+
y(a) {
|
|
140389
|
+
let b = this.c.at.indexOf(a);
|
|
140390
|
+
this.d.o(a, b);
|
|
140382
140391
|
}
|
|
140383
|
-
|
|
140384
|
-
|
|
140392
|
+
ag() {
|
|
140393
|
+
this.d.q();
|
|
140385
140394
|
}
|
|
140386
|
-
|
|
140387
|
-
this.
|
|
140388
|
-
this.c.v(this.i);
|
|
140395
|
+
ah() {
|
|
140396
|
+
this.d.r();
|
|
140389
140397
|
}
|
|
140390
|
-
get
|
|
140391
|
-
return this.
|
|
140398
|
+
get l() {
|
|
140399
|
+
return this.j;
|
|
140392
140400
|
}
|
|
140393
|
-
set
|
|
140394
|
-
this.
|
|
140395
|
-
this.
|
|
140401
|
+
set l(a) {
|
|
140402
|
+
this.j = a;
|
|
140403
|
+
this.d.v(this.j);
|
|
140396
140404
|
}
|
|
140397
140405
|
get w() {
|
|
140398
140406
|
return this.q;
|
|
140399
140407
|
}
|
|
140400
140408
|
set w(a) {
|
|
140401
140409
|
this.q = a;
|
|
140402
|
-
this.
|
|
140410
|
+
this.d.z(this.q);
|
|
140403
140411
|
}
|
|
140404
|
-
|
|
140405
|
-
this.
|
|
140412
|
+
get x() {
|
|
140413
|
+
return this.r;
|
|
140406
140414
|
}
|
|
140407
|
-
|
|
140415
|
+
set x(a) {
|
|
140416
|
+
this.r = a;
|
|
140417
|
+
this.d.aa(this.r);
|
|
140418
|
+
}
|
|
140419
|
+
am() {
|
|
140420
|
+
this.d.p();
|
|
140421
|
+
}
|
|
140422
|
+
o(e_) {
|
|
140408
140423
|
let ev_ = e_.originalEvent;
|
|
140409
140424
|
return ev_.currentTarget;
|
|
140410
140425
|
}
|
|
140411
|
-
|
|
140412
|
-
return this.
|
|
140426
|
+
p(e_) {
|
|
140427
|
+
return this.d.n(this.o(e_));
|
|
140413
140428
|
}
|
|
140414
|
-
|
|
140415
|
-
if (!this.
|
|
140416
|
-
this.
|
|
140429
|
+
ae(a) {
|
|
140430
|
+
if (!this.m) {
|
|
140431
|
+
this.c.a3(this.f(this.p(a)));
|
|
140417
140432
|
}
|
|
140418
|
-
this.
|
|
140433
|
+
this.m = true;
|
|
140419
140434
|
}
|
|
140420
|
-
|
|
140421
|
-
if (this.
|
|
140422
|
-
this.
|
|
140435
|
+
ad(a) {
|
|
140436
|
+
if (this.m) {
|
|
140437
|
+
this.c.a4(this.f(this.p(a)));
|
|
140423
140438
|
}
|
|
140424
|
-
this.
|
|
140439
|
+
this.m = false;
|
|
140425
140440
|
}
|
|
140426
|
-
|
|
140427
|
-
this.
|
|
140441
|
+
ac(a) {
|
|
140442
|
+
this.c.a5(this.e(this.p(a)));
|
|
140428
140443
|
}
|
|
140429
|
-
|
|
140430
|
-
this.
|
|
140444
|
+
af(a) {
|
|
140445
|
+
this.c.a6(this.e(this.p(a)));
|
|
140431
140446
|
}
|
|
140432
|
-
|
|
140447
|
+
i(a) {
|
|
140433
140448
|
let b = a.querySelectorAll("span *");
|
|
140434
140449
|
let c = Rect.empty;
|
|
140435
140450
|
for (let e = 0; e < b.length; e++) {
|
|
@@ -140443,16 +140458,16 @@ let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
140443
140458
|
}
|
|
140444
140459
|
return RectData.b(c);
|
|
140445
140460
|
}
|
|
140446
|
-
|
|
140461
|
+
h(a) {
|
|
140447
140462
|
let b = a.querySelectorAll("canvas");
|
|
140448
140463
|
let c = b.length > 0 ? b[0] : null;
|
|
140449
140464
|
return c != null ? new RectData(c.getOffset().left, c.getOffset().top, c.width(), c.height()) : null;
|
|
140450
140465
|
}
|
|
140451
140466
|
a(a) {
|
|
140452
|
-
if (this.
|
|
140467
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
140453
140468
|
return null;
|
|
140454
140469
|
}
|
|
140455
|
-
let b = this.
|
|
140470
|
+
let b = this.c.at._inner[a];
|
|
140456
140471
|
if (b == null) {
|
|
140457
140472
|
return null;
|
|
140458
140473
|
}
|
|
@@ -140463,9 +140478,24 @@ let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
140463
140478
|
let d = c.actualItemBrush != null ? c.actualItemBrush : c.itemBrush;
|
|
140464
140479
|
return AppearanceHelper.b(d);
|
|
140465
140480
|
}
|
|
140466
|
-
|
|
140481
|
+
b(a) {
|
|
140482
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
140483
|
+
return null;
|
|
140484
|
+
}
|
|
140485
|
+
let b = this.c.at._inner[a];
|
|
140486
|
+
if (b == null) {
|
|
140487
|
+
return null;
|
|
140488
|
+
}
|
|
140489
|
+
let c = b.content;
|
|
140490
|
+
if (c == null) {
|
|
140491
|
+
return null;
|
|
140492
|
+
}
|
|
140493
|
+
let d = c.outline;
|
|
140494
|
+
return AppearanceHelper.b(d);
|
|
140495
|
+
}
|
|
140496
|
+
g() {
|
|
140467
140497
|
let a = new LegendVisualData();
|
|
140468
|
-
let b = this.
|
|
140498
|
+
let b = this.d.l;
|
|
140469
140499
|
let c = b.getChildCount();
|
|
140470
140500
|
for (let d = 0; d < c; d++) {
|
|
140471
140501
|
let e = new LegendItemVisualData();
|
|
@@ -140473,12 +140503,15 @@ let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
140473
140503
|
e.label = f.getText();
|
|
140474
140504
|
e.label = e.label != null ? e.label.trim() : null;
|
|
140475
140505
|
e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
140476
|
-
e.labelBounds = this.
|
|
140477
|
-
e.badgeBounds = this.
|
|
140506
|
+
e.labelBounds = this.i(f);
|
|
140507
|
+
e.badgeBounds = this.h(f);
|
|
140508
|
+
e.appearance.fill = this.a(d);
|
|
140509
|
+
e.appearance.stroke = this.b(d);
|
|
140478
140510
|
a.items.add(e);
|
|
140479
140511
|
}
|
|
140480
|
-
for (let g = 0; g < this.
|
|
140512
|
+
for (let g = 0; g < this.c.at.count; g++) {
|
|
140481
140513
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
140514
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
140482
140515
|
}
|
|
140483
140516
|
return a;
|
|
140484
140517
|
}
|
|
@@ -140549,12 +140582,12 @@ let Legend = /*@__PURE__*/ (() => {
|
|
|
140549
140582
|
a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
|
|
140550
140583
|
if (b.oldItems != null) {
|
|
140551
140584
|
for (let c of fromEn(b.oldItems)) {
|
|
140552
|
-
this.bc.
|
|
140585
|
+
this.bc.ao(c);
|
|
140553
140586
|
}
|
|
140554
140587
|
}
|
|
140555
140588
|
if (b.newItems != null) {
|
|
140556
140589
|
for (let d of fromEn(b.newItems)) {
|
|
140557
|
-
this.bc.
|
|
140590
|
+
this.bc.y(d);
|
|
140558
140591
|
}
|
|
140559
140592
|
}
|
|
140560
140593
|
});
|
|
@@ -140577,7 +140610,7 @@ let Legend = /*@__PURE__*/ (() => {
|
|
|
140577
140610
|
let e;
|
|
140578
140611
|
let f;
|
|
140579
140612
|
let g;
|
|
140580
|
-
let h = this.ak.
|
|
140613
|
+
let h = this.ak.ab(d, e, f, g);
|
|
140581
140614
|
e = h.p1;
|
|
140582
140615
|
f = h.p2;
|
|
140583
140616
|
g = h.p3;
|
|
@@ -140618,25 +140651,25 @@ let Legend = /*@__PURE__*/ (() => {
|
|
|
140618
140651
|
}
|
|
140619
140652
|
}
|
|
140620
140653
|
get bb() {
|
|
140621
|
-
return this.ak.
|
|
140654
|
+
return this.ak.l ? 0 : 1;
|
|
140622
140655
|
}
|
|
140623
140656
|
set bb(a) {
|
|
140624
|
-
this.ak.
|
|
140657
|
+
this.ak.l = a == 0;
|
|
140625
140658
|
}
|
|
140626
140659
|
be(a) {
|
|
140627
140660
|
return -1;
|
|
140628
140661
|
}
|
|
140629
140662
|
get bh() {
|
|
140630
|
-
return this.ak.
|
|
140663
|
+
return this.ak.w;
|
|
140631
140664
|
}
|
|
140632
140665
|
set bh(a) {
|
|
140633
|
-
this.ak.
|
|
140666
|
+
this.ak.w = a;
|
|
140634
140667
|
}
|
|
140635
140668
|
get bi() {
|
|
140636
|
-
return this.ak.
|
|
140669
|
+
return this.ak.x;
|
|
140637
140670
|
}
|
|
140638
140671
|
set bi(a) {
|
|
140639
|
-
this.ak.
|
|
140672
|
+
this.ak.x = a;
|
|
140640
140673
|
}
|
|
140641
140674
|
}
|
|
140642
140675
|
Legend.$t = /*@__PURE__*/ markType(Legend, 'Legend', LegendBase.$);
|
|
@@ -140649,11 +140682,11 @@ let LegendView = /*@__PURE__*/ (() => {
|
|
|
140649
140682
|
class LegendView extends LegendBaseView {
|
|
140650
140683
|
constructor(a) {
|
|
140651
140684
|
super(a);
|
|
140652
|
-
this.
|
|
140653
|
-
this.
|
|
140685
|
+
this.ap = null;
|
|
140686
|
+
this.ap = a;
|
|
140654
140687
|
}
|
|
140655
|
-
|
|
140656
|
-
super.
|
|
140688
|
+
al() {
|
|
140689
|
+
super.al();
|
|
140657
140690
|
}
|
|
140658
140691
|
}
|
|
140659
140692
|
LegendView.$t = /*@__PURE__*/ markType(LegendView, 'LegendView', LegendBaseView.$);
|
|
@@ -140830,12 +140863,12 @@ let FinancialLegend = /*@__PURE__*/ (() => {
|
|
|
140830
140863
|
a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
|
|
140831
140864
|
if (b.oldItems != null) {
|
|
140832
140865
|
for (let c of fromEn(b.oldItems)) {
|
|
140833
|
-
this.bb.
|
|
140866
|
+
this.bb.ao(c);
|
|
140834
140867
|
}
|
|
140835
140868
|
}
|
|
140836
140869
|
if (b.newItems != null) {
|
|
140837
140870
|
for (let d of fromEn(b.newItems)) {
|
|
140838
|
-
this.bb.
|
|
140871
|
+
this.bb.y(d);
|
|
140839
140872
|
}
|
|
140840
140873
|
}
|
|
140841
140874
|
});
|
|
@@ -140857,7 +140890,7 @@ let FinancialLegendView = /*@__PURE__*/ (() => {
|
|
|
140857
140890
|
class FinancialLegendView extends LegendBaseView {
|
|
140858
140891
|
constructor(a) {
|
|
140859
140892
|
super(a);
|
|
140860
|
-
this.
|
|
140893
|
+
this.d = new FinancialLegendViewManager(this);
|
|
140861
140894
|
}
|
|
140862
140895
|
}
|
|
140863
140896
|
FinancialLegendView.$t = /*@__PURE__*/ markType(FinancialLegendView, 'FinancialLegendView', LegendBaseView.$);
|
|
@@ -173193,8 +173226,9 @@ let ScatterBase = /*@__PURE__*/ (() => {
|
|
|
173193
173226
|
for (let ac = 0; ac < this.yo.c.count; ac++) {
|
|
173194
173227
|
t = v.item(ac);
|
|
173195
173228
|
u = w.item(ac);
|
|
173229
|
+
let ad = 1E-10;
|
|
173196
173230
|
if (x) {
|
|
173197
|
-
if (t >= k && t <= l && u >= m && u <= n) {
|
|
173231
|
+
if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
|
|
173198
173232
|
c[ac].x = r.ek(t, h);
|
|
173199
173233
|
c[ac].y = s.ek(u, i);
|
|
173200
173234
|
}
|
|
@@ -173210,7 +173244,7 @@ let ScatterBase = /*@__PURE__*/ (() => {
|
|
|
173210
173244
|
}
|
|
173211
173245
|
}
|
|
173212
173246
|
else {
|
|
173213
|
-
if (t >= k && t <= l && u >= m && u <= n) {
|
|
173247
|
+
if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
|
|
173214
173248
|
c[ac].x = r.ek(t, h);
|
|
173215
173249
|
c[ac].y = s.ek(u, i);
|
|
173216
173250
|
}
|
|
@@ -201620,18 +201654,18 @@ let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
201620
201654
|
a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
|
|
201621
201655
|
if (b.oldItems != null) {
|
|
201622
201656
|
for (let c of fromEn(b.oldItems)) {
|
|
201623
|
-
this.bb.
|
|
201657
|
+
this.bb.ao(c);
|
|
201624
201658
|
}
|
|
201625
201659
|
}
|
|
201626
201660
|
if (b.newItems != null) {
|
|
201627
201661
|
for (let d of fromEn(b.newItems)) {
|
|
201628
|
-
this.bb.
|
|
201662
|
+
this.bb.y(d);
|
|
201629
201663
|
}
|
|
201630
201664
|
}
|
|
201631
201665
|
});
|
|
201632
201666
|
}
|
|
201633
201667
|
addChildInOrder(a, b) {
|
|
201634
|
-
if (!this.ak.
|
|
201668
|
+
if (!this.ak.n()) {
|
|
201635
201669
|
return;
|
|
201636
201670
|
}
|
|
201637
201671
|
this.bl(b);
|
|
@@ -201643,7 +201677,7 @@ let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
201643
201677
|
this.a0(a, b);
|
|
201644
201678
|
}
|
|
201645
201679
|
a0(a, b) {
|
|
201646
|
-
this.ak.
|
|
201680
|
+
this.ak.ag();
|
|
201647
201681
|
this.clearLegendItemsForSeries(b);
|
|
201648
201682
|
if (b == null || a == null || a.count == 0) {
|
|
201649
201683
|
return;
|
|
@@ -201667,13 +201701,13 @@ let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
201667
201701
|
}
|
|
201668
201702
|
}
|
|
201669
201703
|
}
|
|
201670
|
-
this.ak.
|
|
201704
|
+
this.ak.ah();
|
|
201671
201705
|
}
|
|
201672
201706
|
createLegendItemsInsert(a, b) {
|
|
201673
201707
|
this.bk(a, b);
|
|
201674
201708
|
}
|
|
201675
201709
|
bk(a, b) {
|
|
201676
|
-
this.ak.
|
|
201710
|
+
this.ak.ag();
|
|
201677
201711
|
try {
|
|
201678
201712
|
let c = this.bf(b);
|
|
201679
201713
|
if (b == null || a == null || a.count == 0) {
|
|
@@ -201696,7 +201730,7 @@ let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
201696
201730
|
}
|
|
201697
201731
|
}
|
|
201698
201732
|
finally {
|
|
201699
|
-
this.ak.
|
|
201733
|
+
this.ak.ah();
|
|
201700
201734
|
}
|
|
201701
201735
|
}
|
|
201702
201736
|
renderItemwiseContent(a) {
|
|
@@ -201774,25 +201808,25 @@ let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
201774
201808
|
return c;
|
|
201775
201809
|
}
|
|
201776
201810
|
be(a) {
|
|
201777
|
-
return this.bb.
|
|
201811
|
+
return this.bb.aq(a);
|
|
201778
201812
|
}
|
|
201779
201813
|
get bc() {
|
|
201780
|
-
return this.ak.
|
|
201814
|
+
return this.ak.l ? 0 : 1;
|
|
201781
201815
|
}
|
|
201782
201816
|
set bc(a) {
|
|
201783
|
-
this.ak.
|
|
201817
|
+
this.ak.l = a == 0;
|
|
201784
201818
|
}
|
|
201785
201819
|
get bi() {
|
|
201786
|
-
return this.ak.
|
|
201820
|
+
return this.ak.w;
|
|
201787
201821
|
}
|
|
201788
201822
|
set bi(a) {
|
|
201789
|
-
this.ak.
|
|
201823
|
+
this.ak.w = a;
|
|
201790
201824
|
}
|
|
201791
201825
|
get bj() {
|
|
201792
|
-
return this.ak.
|
|
201826
|
+
return this.ak.x;
|
|
201793
201827
|
}
|
|
201794
201828
|
set bj(a) {
|
|
201795
|
-
this.ak.
|
|
201829
|
+
this.ak.x = a;
|
|
201796
201830
|
}
|
|
201797
201831
|
}
|
|
201798
201832
|
ItemLegend.$t = /*@__PURE__*/ markType(ItemLegend, 'ItemLegend', LegendBase.$, [IChartItemLegend_$type]);
|
|
@@ -201805,21 +201839,21 @@ let ItemLegendView = /*@__PURE__*/ (() => {
|
|
|
201805
201839
|
class ItemLegendView extends LegendBaseView {
|
|
201806
201840
|
constructor(a) {
|
|
201807
201841
|
super(a);
|
|
201808
|
-
this.
|
|
201809
|
-
this.
|
|
201842
|
+
this.ap = null;
|
|
201843
|
+
this.ap = a;
|
|
201810
201844
|
}
|
|
201811
|
-
|
|
201812
|
-
super.
|
|
201845
|
+
al() {
|
|
201846
|
+
super.al();
|
|
201813
201847
|
}
|
|
201814
|
-
|
|
201848
|
+
get_k() {
|
|
201815
201849
|
return true;
|
|
201816
201850
|
}
|
|
201817
|
-
|
|
201818
|
-
return this.
|
|
201851
|
+
aq(a) {
|
|
201852
|
+
return this.d.e(a);
|
|
201819
201853
|
}
|
|
201820
|
-
|
|
201854
|
+
g() {
|
|
201821
201855
|
let a = new LegendVisualData();
|
|
201822
|
-
let b = this.
|
|
201856
|
+
let b = this.d.g.rootWrapper;
|
|
201823
201857
|
b = b.getChildAt(0);
|
|
201824
201858
|
let c = b.getChildCount();
|
|
201825
201859
|
for (let d = 0; d < c; d++) {
|
|
@@ -201828,13 +201862,14 @@ let ItemLegendView = /*@__PURE__*/ (() => {
|
|
|
201828
201862
|
e.label = f.getText();
|
|
201829
201863
|
e.label = e.label != null ? e.label.trim() : null;
|
|
201830
201864
|
e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
201831
|
-
e.labelBounds = this.
|
|
201832
|
-
e.badgeBounds = this.
|
|
201865
|
+
e.labelBounds = this.i(f);
|
|
201866
|
+
e.badgeBounds = this.h(f);
|
|
201833
201867
|
a.items.add(e);
|
|
201834
201868
|
}
|
|
201835
201869
|
if (c == a.items.count) {
|
|
201836
201870
|
for (let g = 0; g < c; g++) {
|
|
201837
201871
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
201872
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
201838
201873
|
}
|
|
201839
201874
|
}
|
|
201840
201875
|
return a;
|
|
@@ -202057,13 +202092,13 @@ let ScaleLegend = /*@__PURE__*/ (() => {
|
|
|
202057
202092
|
this.bd = a;
|
|
202058
202093
|
}
|
|
202059
202094
|
get legendScaleElement() {
|
|
202060
|
-
return this.bd.
|
|
202095
|
+
return this.bd.bb;
|
|
202061
202096
|
}
|
|
202062
202097
|
get minText() {
|
|
202063
|
-
return this.bd.
|
|
202098
|
+
return this.bd.a7;
|
|
202064
202099
|
}
|
|
202065
202100
|
get maxText() {
|
|
202066
|
-
return this.bd.
|
|
202101
|
+
return this.bd.a6;
|
|
202067
202102
|
}
|
|
202068
202103
|
constructor() {
|
|
202069
202104
|
super();
|
|
@@ -202080,14 +202115,14 @@ let ScaleLegend = /*@__PURE__*/ (() => {
|
|
|
202080
202115
|
this.bb = a;
|
|
202081
202116
|
}
|
|
202082
202117
|
bi() {
|
|
202083
|
-
this.bd.
|
|
202118
|
+
this.bd.a3();
|
|
202084
202119
|
}
|
|
202085
202120
|
restoreOriginalState() {
|
|
202086
202121
|
this.bi();
|
|
202087
202122
|
}
|
|
202088
202123
|
bl(a) {
|
|
202089
202124
|
if (a == null) {
|
|
202090
|
-
return this.bd.
|
|
202125
|
+
return this.bd.ba();
|
|
202091
202126
|
}
|
|
202092
202127
|
return ColorUtil.v(a);
|
|
202093
202128
|
}
|
|
@@ -202111,11 +202146,11 @@ let ScaleLegend = /*@__PURE__*/ (() => {
|
|
|
202111
202146
|
let a = false;
|
|
202112
202147
|
let b = typeCast(Shape.$, this.legendScaleElement);
|
|
202113
202148
|
if (b != null) {
|
|
202114
|
-
let c = this.bd.
|
|
202115
|
-
if (!this.bc.forScaleColors((d, e) => this.bd.
|
|
202149
|
+
let c = this.bd.ax();
|
|
202150
|
+
if (!this.bc.forScaleColors((d, e) => this.bd.az(c, this.bl(d), e))) {
|
|
202116
202151
|
a = true;
|
|
202117
202152
|
}
|
|
202118
|
-
this.bd.
|
|
202153
|
+
this.bd.a4(b, a, c);
|
|
202119
202154
|
}
|
|
202120
202155
|
if (this.minText != null) {
|
|
202121
202156
|
this.minText.al = this.bc.minScaleText;
|
|
@@ -202135,33 +202170,33 @@ let ScaleLegendView = /*@__PURE__*/ (() => {
|
|
|
202135
202170
|
class ScaleLegendView extends LegendBaseView {
|
|
202136
202171
|
constructor(a) {
|
|
202137
202172
|
super(a);
|
|
202138
|
-
this.ap = null;
|
|
202139
|
-
this.ba = null;
|
|
202140
|
-
this.a6 = null;
|
|
202141
|
-
this.a5 = null;
|
|
202142
|
-
this.ao = null;
|
|
202143
202173
|
this.aq = null;
|
|
202144
|
-
this.bb =
|
|
202145
|
-
this.ar = false;
|
|
202146
|
-
this.as = 0;
|
|
202147
|
-
this.a8 = null;
|
|
202174
|
+
this.bb = null;
|
|
202148
202175
|
this.a7 = null;
|
|
202149
|
-
this.
|
|
202176
|
+
this.a6 = null;
|
|
202177
|
+
this.ap = null;
|
|
202178
|
+
this.ar = null;
|
|
202179
|
+
this.bc = new Size();
|
|
202180
|
+
this.as = false;
|
|
202181
|
+
this.at = 0;
|
|
202182
|
+
this.a9 = null;
|
|
202183
|
+
this.a8 = null;
|
|
202184
|
+
this.aq = a;
|
|
202185
|
+
this.a7 = new TextBlock();
|
|
202150
202186
|
this.a6 = new TextBlock();
|
|
202151
|
-
this.
|
|
202152
|
-
this.ba = new Polygon();
|
|
202187
|
+
this.bb = new Polygon();
|
|
202153
202188
|
}
|
|
202154
|
-
|
|
202189
|
+
a3() {
|
|
202155
202190
|
}
|
|
202156
|
-
|
|
202191
|
+
aa() {
|
|
202157
202192
|
}
|
|
202158
|
-
|
|
202193
|
+
ba() {
|
|
202159
202194
|
return Color.u(0, 0, 0, 0);
|
|
202160
202195
|
}
|
|
202161
|
-
|
|
202196
|
+
ax() {
|
|
202162
202197
|
return new GradientData();
|
|
202163
202198
|
}
|
|
202164
|
-
|
|
202199
|
+
az(a, b, c) {
|
|
202165
202200
|
let d = a;
|
|
202166
202201
|
d.a.add(((() => {
|
|
202167
202202
|
let $ret = new GradientStopData();
|
|
@@ -202174,77 +202209,77 @@ let ScaleLegendView = /*@__PURE__*/ (() => {
|
|
|
202174
202209
|
return $ret;
|
|
202175
202210
|
})()));
|
|
202176
202211
|
}
|
|
202177
|
-
|
|
202212
|
+
a4(a, b, c) {
|
|
202178
202213
|
if (b) {
|
|
202179
|
-
this.
|
|
202180
|
-
this.
|
|
202214
|
+
this.a8 = this.aq.bc.actualMarkerBrush;
|
|
202215
|
+
this.ap = null;
|
|
202181
202216
|
}
|
|
202182
202217
|
else {
|
|
202183
|
-
this.
|
|
202184
|
-
this.
|
|
202185
|
-
this.
|
|
202218
|
+
this.a8 = null;
|
|
202219
|
+
this.ap = c;
|
|
202220
|
+
this.ap.b();
|
|
202186
202221
|
}
|
|
202187
|
-
this.
|
|
202222
|
+
this.a0();
|
|
202188
202223
|
}
|
|
202189
|
-
|
|
202190
|
-
super.
|
|
202191
|
-
this.
|
|
202192
|
-
this.
|
|
202193
|
-
this.
|
|
202224
|
+
aj(a) {
|
|
202225
|
+
super.aj(a);
|
|
202226
|
+
this.ar = this.d.b(a);
|
|
202227
|
+
this.bc = this.d.ab();
|
|
202228
|
+
this.a0();
|
|
202194
202229
|
}
|
|
202195
|
-
|
|
202196
|
-
if (!this.
|
|
202197
|
-
this.
|
|
202198
|
-
if (this.
|
|
202199
|
-
this.
|
|
202230
|
+
a0() {
|
|
202231
|
+
if (!this.as) {
|
|
202232
|
+
this.as = true;
|
|
202233
|
+
if (this.d.g != null) {
|
|
202234
|
+
this.d.g.setTimeout(runOn(this, this.a5), 0);
|
|
202200
202235
|
}
|
|
202201
202236
|
else {
|
|
202202
|
-
window.setTimeout(runOn(this, this.
|
|
202237
|
+
window.setTimeout(runOn(this, this.a5), 0);
|
|
202203
202238
|
}
|
|
202204
202239
|
}
|
|
202205
202240
|
}
|
|
202206
|
-
|
|
202207
|
-
if (this.
|
|
202208
|
-
this.
|
|
202209
|
-
this.
|
|
202241
|
+
a5() {
|
|
202242
|
+
if (this.as) {
|
|
202243
|
+
this.as = false;
|
|
202244
|
+
this.a2();
|
|
202210
202245
|
}
|
|
202211
202246
|
}
|
|
202212
|
-
|
|
202213
|
-
if (this.
|
|
202247
|
+
a2() {
|
|
202248
|
+
if (this.ar == null) {
|
|
202214
202249
|
return;
|
|
202215
202250
|
}
|
|
202216
|
-
this.
|
|
202251
|
+
this.a1();
|
|
202217
202252
|
}
|
|
202218
|
-
|
|
202253
|
+
av(a) {
|
|
202219
202254
|
let b = typeCast(TextBlock.$, a);
|
|
202220
202255
|
if (b != null && b.al != null) {
|
|
202221
|
-
return this.
|
|
202256
|
+
return this.ar.f(b) + 0;
|
|
202222
202257
|
}
|
|
202223
202258
|
return 0;
|
|
202224
202259
|
}
|
|
202225
|
-
|
|
202226
|
-
return this.
|
|
202260
|
+
au(a) {
|
|
202261
|
+
return this.at + 0;
|
|
202227
202262
|
}
|
|
202228
|
-
|
|
202229
|
-
if (this.
|
|
202263
|
+
a1() {
|
|
202264
|
+
if (this.aq.bc == null || this.aq.bc.container == null || (this.ap == null && this.a8 == null)) {
|
|
202230
202265
|
return;
|
|
202231
202266
|
}
|
|
202232
|
-
if (this.
|
|
202233
|
-
let a = typeCast(IInternalLegendOwner_$type, this.
|
|
202234
|
-
this.
|
|
202235
|
-
this.
|
|
202236
|
-
this.
|
|
202237
|
-
let b = this.
|
|
202238
|
-
let c = this.
|
|
202267
|
+
if (this.ar.d) {
|
|
202268
|
+
let a = typeCast(IInternalLegendOwner_$type, this.aq.bc.container);
|
|
202269
|
+
this.ar.ad(a.getFontInfo());
|
|
202270
|
+
this.at = a.getFontHeight();
|
|
202271
|
+
this.a9 = a.getFontBrush();
|
|
202272
|
+
let b = this.av(this.a7);
|
|
202273
|
+
let c = this.av(this.a6);
|
|
202239
202274
|
let d = Math.max(b, c) + 4;
|
|
202240
|
-
if (d >= this.
|
|
202275
|
+
if (d >= this.bc.width) {
|
|
202241
202276
|
d = 0;
|
|
202242
202277
|
}
|
|
202243
|
-
let e = this.
|
|
202278
|
+
let e = this.bc.width - d;
|
|
202244
202279
|
let f = 2;
|
|
202245
202280
|
let g = 2;
|
|
202246
202281
|
e = e - 4;
|
|
202247
|
-
let h = this.
|
|
202282
|
+
let h = this.bc.height - 4;
|
|
202248
202283
|
let i = f + e + 4;
|
|
202249
202284
|
let j = g;
|
|
202250
202285
|
let k = h;
|
|
@@ -202252,36 +202287,36 @@ let ScaleLegendView = /*@__PURE__*/ (() => {
|
|
|
202252
202287
|
let m = { $type: Point_$type, x: f + (5 / 5) * e, y: g };
|
|
202253
202288
|
let n = { $type: Point_$type, x: f + (5 / 5) * e, y: h };
|
|
202254
202289
|
let o = { $type: Point_$type, x: f, y: h };
|
|
202255
|
-
let p = this.
|
|
202290
|
+
let p = this.bb;
|
|
202256
202291
|
p.an.clear();
|
|
202257
202292
|
p.an.add(l);
|
|
202258
202293
|
p.an.add(m);
|
|
202259
202294
|
p.an.add(n);
|
|
202260
202295
|
p.an.add(o);
|
|
202296
|
+
this.a7.n = i;
|
|
202297
|
+
this.a7.o = j;
|
|
202298
|
+
this.a7.ao = this.a9;
|
|
202261
202299
|
this.a6.n = i;
|
|
202262
|
-
this.a6.o = j;
|
|
202263
|
-
this.a6.ao = this.
|
|
202264
|
-
this.
|
|
202265
|
-
|
|
202266
|
-
|
|
202267
|
-
if (
|
|
202268
|
-
|
|
202269
|
-
|
|
202270
|
-
if (this.ao == null && this.a7 != null) {
|
|
202271
|
-
p._fill = this.a7;
|
|
202272
|
-
this.aq.u(p);
|
|
202300
|
+
this.a6.o = j + k - (this.au(this.a7));
|
|
202301
|
+
this.a6.ao = this.a9;
|
|
202302
|
+
if (!this.ar.e) {
|
|
202303
|
+
this.ar.l(0, 0, this.bc.width, this.bc.height);
|
|
202304
|
+
}
|
|
202305
|
+
if (this.ap == null && this.a8 != null) {
|
|
202306
|
+
p._fill = this.a8;
|
|
202307
|
+
this.ar.u(p);
|
|
202273
202308
|
}
|
|
202274
202309
|
else {
|
|
202275
|
-
this.
|
|
202310
|
+
this.d.y(this.ar, p, this.ap, new Rect(0, g, f, e, h));
|
|
202276
202311
|
}
|
|
202277
202312
|
if (d > 0) {
|
|
202278
|
-
this.
|
|
202279
|
-
this.
|
|
202313
|
+
this.ar.x(this.a7);
|
|
202314
|
+
this.ar.x(this.a6);
|
|
202280
202315
|
}
|
|
202281
202316
|
}
|
|
202282
202317
|
}
|
|
202283
|
-
|
|
202284
|
-
super.
|
|
202318
|
+
am() {
|
|
202319
|
+
super.am();
|
|
202285
202320
|
}
|
|
202286
202321
|
}
|
|
202287
202322
|
ScaleLegendView.$t = /*@__PURE__*/ markType(ScaleLegendView, 'ScaleLegendView', LegendBaseView.$);
|