diff --git a/change/@fluentui-react-charting-e1e04cc0-cfc1-4801-bfa9-ec969b3ffc55.json b/change/@fluentui-react-charting-e1e04cc0-cfc1-4801-bfa9-ec969b3ffc55.json new file mode 100644 index 00000000000000..4986e6ef65c168 --- /dev/null +++ b/change/@fluentui-react-charting-e1e04cc0-cfc1-4801-bfa9-ec969b3ffc55.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "feat: improve x-axis tick label layout with automatic wrapping, truncation, or multi-level rendering based on available space", + "packageName": "@fluentui/react-charting", + "email": "kumarkshitij@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-charting-f3e7b651-4e32-4bab-895c-16f41bfaa4ee.json b/change/@fluentui-react-charting-f3e7b651-4e32-4bab-895c-16f41bfaa4ee.json new file mode 100644 index 00000000000000..43f4052a52f834 --- /dev/null +++ b/change/@fluentui-react-charting-f3e7b651-4e32-4bab-895c-16f41bfaa4ee.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "feat: add PolarChart", + "packageName": "@fluentui/react-charting", + "email": "kumarkshitij@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-charts-a6a464de-ad68-4188-b6a2-8100f18a88f8.json b/change/@fluentui-react-charts-a6a464de-ad68-4188-b6a2-8100f18a88f8.json new file mode 100644 index 00000000000000..61e56037fcb1f4 --- /dev/null +++ b/change/@fluentui-react-charts-a6a464de-ad68-4188-b6a2-8100f18a88f8.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: resolve minor bugs", + "packageName": "@fluentui/react-charts", + "email": "kumarkshitij@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-divider-ae589058-df1f-4fef-bec7-06fb3b3c8f39.json b/change/@fluentui-react-divider-ae589058-df1f-4fef-bec7-06fb3b3c8f39.json new file mode 100644 index 00000000000000..e6ed96658f62f1 --- /dev/null +++ b/change/@fluentui-react-divider-ae589058-df1f-4fef-bec7-06fb3b3c8f39.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "feat: add base hooks", + "packageName": "@fluentui/react-divider", + "email": "dmytrokirpa@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-tabs-5fc7af63-58db-4cc1-b8ba-5fd46b90945f.json b/change/@fluentui-react-tabs-5fc7af63-58db-4cc1-b8ba-5fd46b90945f.json new file mode 100644 index 00000000000000..5a200b842b5fd5 --- /dev/null +++ b/change/@fluentui-react-tabs-5fc7af63-58db-4cc1-b8ba-5fd46b90945f.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "feat: add base hooks for tabs components", + "packageName": "@fluentui/react-tabs", + "email": "dmytrokirpa@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/charts/react-charting/UnitTests/__snapshots__/VerticalBarChartUT.test.tsx.snap b/packages/charts/react-charting/UnitTests/__snapshots__/VerticalBarChartUT.test.tsx.snap index e7ce6239963d72..faa24e93a1cb1f 100644 --- a/packages/charts/react-charting/UnitTests/__snapshots__/VerticalBarChartUT.test.tsx.snap +++ b/packages/charts/react-charting/UnitTests/__snapshots__/VerticalBarChartUT.test.tsx.snap @@ -15,12 +15,13 @@ exports[`vertical bar chart with numeric x-axis data Should render the vertical font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_3" + id="chart_2" >
@@ -217,7 +218,7 @@ exports[`vertical bar chart with numeric x-axis data Should render the vertical fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementchart_3" + id="yAxisGElementchart_2" text-anchor="end" transform="translate(40, 0)" > @@ -329,7 +330,7 @@ exports[`vertical bar chart with numeric x-axis data Should render the vertical data-is-focusable="true" fill="#0078d4" height="47.400000000000006" - id="_VBC_bar_9" + id="_VBC_bar_8" role="img" rx="0" tabindex="0" @@ -367,7 +368,7 @@ exports[`vertical bar chart with numeric x-axis data Should render the vertical data-is-focusable="true" fill="#002050" height="237" - id="_VBC_bar_11" + id="_VBC_bar_10" role="img" rx="0" tabindex="-1" @@ -405,7 +406,7 @@ exports[`vertical bar chart with numeric x-axis data Should render the vertical data-is-focusable="true" fill="#00188f" height="142.2" - id="_VBC_bar_13" + id="_VBC_bar_12" role="img" rx="0" tabindex="-1" @@ -472,7 +473,7 @@ exports[`vertical bar chart with numeric x-axis data Should render the vertical &:focus { outline: none; } - data-focuszone-id="FocusZone7" + data-focuszone-id="FocusZone6" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > diff --git a/packages/charts/react-charting/bundle-size/PolarChart.fixture.js b/packages/charts/react-charting/bundle-size/PolarChart.fixture.js new file mode 100644 index 00000000000000..5650eb5ed77cd2 --- /dev/null +++ b/packages/charts/react-charting/bundle-size/PolarChart.fixture.js @@ -0,0 +1,7 @@ +import { PolarChart } from '@fluentui/react-charting'; + +console.log(PolarChart); + +export default { + name: 'PolarChart', +}; diff --git a/packages/charts/react-charting/etc/react-charting.api.md b/packages/charts/react-charting/etc/react-charting.api.md index bab849f01e01a7..e401521462550e 100644 --- a/packages/charts/react-charting/etc/react-charting.api.md +++ b/packages/charts/react-charting/etc/react-charting.api.md @@ -9,6 +9,7 @@ import { FocusZoneDirection } from '@fluentui/react-focus'; import { ICalloutContentStyleProps } from '@fluentui/react/lib/Callout'; import { ICalloutContentStyles } from '@fluentui/react/lib/Callout'; import { ICalloutProps } from '@fluentui/react/lib/Callout'; +import { ICalloutProps as ICalloutProps_2 } from '@fluentui/react'; import { IFocusZoneProps } from '@fluentui/react-focus'; import { IHoverCardStyleProps } from '@fluentui/react/lib/HoverCard'; import { IHoverCardStyles } from '@fluentui/react/lib/HoverCard'; @@ -450,7 +451,9 @@ export interface ICartesianChartProps { useUTC?: boolean; width?: number; wrapXAxisLables?: boolean; - xAxis?: AxisProps; + xAxis?: AxisProps & { + tickLayout?: 'default' | 'auto'; + }; xAxisAnnotation?: string; xAxisCategoryOrder?: AxisCategoryOrder; xAxisTickCount?: number; @@ -1529,6 +1532,52 @@ export interface IPieChartStyles { root?: IStyle; } +// @public +export interface IPolarChartProps { + angularAxis?: PolarAxisProps & { + unit?: 'radians' | 'degrees'; + }; + calloutProps?: Partial; + chartTitle?: string; + componentRef?: React_2.Ref; + culture?: string; + // Warning: (ae-forgotten-export) The symbol "IAreaPolarSeries" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "ILinePolarSeries" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "IScatterPolarSeries" needs to be exported by the entry point index.d.ts + data: (IAreaPolarSeries | ILinePolarSeries | IScatterPolarSeries)[]; + dateLocalizeOptions?: Intl.DateTimeFormatOptions; + direction?: 'clockwise' | 'counterclockwise'; + height?: number; + hideLegend?: boolean; + hideTooltip?: boolean; + hole?: number; + // (undocumented) + legendProps?: Partial; + margins?: IMargins; + radialAxis?: PolarAxisProps; + shape?: 'circle' | 'polygon'; + styles?: IStyleFunctionOrObject_2; + theme?: ITheme_2; + useUTC?: boolean; + width?: number; +} + +// @public +export interface IPolarChartStyleProps { + theme: ITheme_2; +} + +// @public +export interface IPolarChartStyles { + chart?: IStyle_2; + chartWrapper?: IStyle_2; + gridLineInner?: IStyle_2; + gridLineOuter?: IStyle_2; + legendContainer?: IStyle_2; + root?: IStyle_2; + tickLabel?: IStyle_2; +} + // @public (undocumented) export interface IRefArrayData { // (undocumented) @@ -2028,6 +2077,20 @@ export enum NodesComposition { // @public export const PieChart: React_2.FunctionComponent; +// @public +export type PolarAxisProps = AxisProps & { + tickValues?: number[] | Date[] | string[]; + tickFormat?: string; + tickCount?: number; + categoryOrder?: AxisCategoryOrder; + scaleType?: AxisScaleType; + rangeStart?: number | Date; + rangeEnd?: number | Date; +}; + +// @public +export const PolarChart: React_2.FunctionComponent; + // @public export const ResponsiveContainer: React_2.FC; diff --git a/packages/charts/react-charting/src/PolarChart.ts b/packages/charts/react-charting/src/PolarChart.ts new file mode 100644 index 00000000000000..0bcf1067a40eb8 --- /dev/null +++ b/packages/charts/react-charting/src/PolarChart.ts @@ -0,0 +1 @@ +export * from './components/PolarChart/index'; diff --git a/packages/charts/react-charting/src/components/AreaChart/AreaChart.base.tsx b/packages/charts/react-charting/src/components/AreaChart/AreaChart.base.tsx index 2508c3bae5276d..f425cfe725d6e6 100644 --- a/packages/charts/react-charting/src/components/AreaChart/AreaChart.base.tsx +++ b/packages/charts/react-charting/src/components/AreaChart/AreaChart.base.tsx @@ -1,15 +1,8 @@ import * as React from 'react'; import { max as d3Max, bisector } from 'd3-array'; import { pointer } from 'd3-selection'; -import { select as d3Select } from 'd3-selection'; import { area as d3Area, stack as d3Stack, curveMonotoneX as d3CurveBasis, line as d3Line } from 'd3-shape'; -import { - classNamesFunction, - getId, - getRTL, - initializeComponentRef, - memoizeFunction, -} from '@fluentui/react/lib/Utilities'; +import { getId, getRTL, initializeComponentRef, memoizeFunction } from '@fluentui/react/lib/Utilities'; import { IAccessibilityProps, CartesianChart, @@ -20,8 +13,6 @@ import { ILineChartPoints, IChildProps, IMargins, - IAreaChartStyleProps, - IAreaChartStyles, } from '../../index'; import { warnDeprecations } from '@fluentui/react/lib/Utilities'; import { formatDateToLocaleString } from '@fluentui/chart-utilities'; @@ -31,7 +22,6 @@ import { ChartTypes, XAxisTypes, getTypeOfAxis, - tooltipOfAxislabels, getNextColor, getColorFromToken, findNumericMinMaxOfY, @@ -53,8 +43,6 @@ import { exportChartsAsImage } from '../../utilities/image-export-utils'; import { ScaleLinear } from 'd3-scale'; import type { JSXElement } from '@fluentui/utilities'; -const getClassNames = classNamesFunction(); - // eslint-disable-next-line @typescript-eslint/no-explicit-any const bisect = bisector((d: any) => d.x).left; @@ -140,7 +128,6 @@ export class AreaChartBase extends React.Component, ); - const classNames = getClassNames(this.props.styles!, { - theme: this.props.theme!, - }); - // Removing un wanted tooltip div from DOM, when prop not provided. - if (!this.props.showXAxisLablesTooltip) { - try { - document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove(); - // eslint-disable-next-line no-empty - } catch (e) {} - } - // Used to display tooltip at x axis labels. - if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) { - const xAxisElement = d3Select(xElement).call(xScale); - try { - document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove(); - // eslint-disable-next-line no-empty - } catch (e) {} - const tooltipProps = { - tooltipCls: classNames.tooltip!, - id: this._tooltipId, - axis: xAxisElement, - }; - xAxisElement && tooltipOfAxislabels(tooltipProps); - } return graph; }; diff --git a/packages/charts/react-charting/src/components/AreaChart/AreaChartRTL.test.tsx b/packages/charts/react-charting/src/components/AreaChart/AreaChartRTL.test.tsx index a61b4650ff25be..b600d76a73907c 100644 --- a/packages/charts/react-charting/src/components/AreaChart/AreaChartRTL.test.tsx +++ b/packages/charts/react-charting/src/components/AreaChart/AreaChartRTL.test.tsx @@ -700,10 +700,10 @@ describe('Area chart - Subcomponent xAxis Labels', () => { AreaChart, { data: chartDataWithDates, showXAxisLablesTooltip: true }, container => { - const xAxisLabels = getById(container, /showDots/i); + const xAxisLabels = container.querySelectorAll('tspan'); fireEvent.mouseOver(xAxisLabels[0]); // Assert - expect(getById(container, /showDots/i)[0]!.textContent!).toEqual('Jan ...'); + expect(xAxisLabels[0].textContent).toEqual('Jan ...'); }, undefined, undefined, diff --git a/packages/charts/react-charting/src/components/AreaChart/__snapshots__/AreaChart.test.tsx.snap b/packages/charts/react-charting/src/components/AreaChart/__snapshots__/AreaChart.test.tsx.snap index 082273624cff13..d456db20c0489f 100644 --- a/packages/charts/react-charting/src/components/AreaChart/__snapshots__/AreaChart.test.tsx.snap +++ b/packages/charts/react-charting/src/components/AreaChart/__snapshots__/AreaChart.test.tsx.snap @@ -1911,12 +1911,13 @@ exports[`AreaChart snapShot testing Should not render circles when optimizeLarge font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -2074,7 +2075,7 @@ exports[`AreaChart snapShot testing Should not render circles when optimizeLarge &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -2215,12 +2216,13 @@ exports[`AreaChart snapShot testing Should render with default colors when line font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -2407,7 +2409,7 @@ exports[`AreaChart snapShot testing Should render with default colors when line &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -2548,12 +2550,13 @@ exports[`AreaChart snapShot testing renders Areachart correctly 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -2740,7 +2743,7 @@ exports[`AreaChart snapShot testing renders Areachart correctly 1`] = ` &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -2881,12 +2884,13 @@ exports[`AreaChart snapShot testing renders Areachart with single point correctl font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -3064,7 +3068,7 @@ exports[`AreaChart snapShot testing renders Areachart with single point correctl &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -3205,12 +3209,13 @@ exports[`AreaChart snapShot testing renders enabledLegendsWrapLines correctly 1` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -3389,7 +3394,7 @@ exports[`AreaChart snapShot testing renders enabledLegendsWrapLines correctly 1` &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -3527,12 +3532,13 @@ exports[`AreaChart snapShot testing renders hideLegend correctly 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -3701,12 +3707,13 @@ exports[`AreaChart snapShot testing renders hideTooltip correctly 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -3893,7 +3900,7 @@ exports[`AreaChart snapShot testing renders hideTooltip correctly 1`] = ` &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -4034,12 +4041,13 @@ exports[`AreaChart snapShot testing renders showXAxisLablesTooltip correctly 1`] font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -4226,7 +4234,7 @@ exports[`AreaChart snapShot testing renders showXAxisLablesTooltip correctly 1`] &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -4367,12 +4375,13 @@ exports[`AreaChart snapShot testing renders wrapXAxisLables correctly 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -4559,7 +4568,7 @@ exports[`AreaChart snapShot testing renders wrapXAxisLables correctly 1`] = ` &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -4700,12 +4709,13 @@ exports[`AreaChart snapShot testing renders yAxisTickFormat correctly 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -4892,7 +4902,7 @@ exports[`AreaChart snapShot testing renders yAxisTickFormat correctly 1`] = ` &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > diff --git a/packages/charts/react-charting/src/components/AreaChart/__snapshots__/AreaChartRTL.test.tsx.snap b/packages/charts/react-charting/src/components/AreaChart/__snapshots__/AreaChartRTL.test.tsx.snap index c2fdcc5c85c97d..dbcdde176cd2a5 100644 --- a/packages/charts/react-charting/src/components/AreaChart/__snapshots__/AreaChartRTL.test.tsx.snap +++ b/packages/charts/react-charting/src/components/AreaChart/__snapshots__/AreaChartRTL.test.tsx.snap @@ -15,12 +15,13 @@ exports[`Area chart rendering Should render the Area Chart with negative y value font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -199,7 +200,7 @@ exports[`Area chart rendering Should render the Area Chart with negative y value fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementchart_6" + id="yAxisGElementchart_5" text-anchor="end" transform="translate(40, 0)" > @@ -813,7 +814,7 @@ exports[`Area chart rendering Should render the Area Chart with negative y value &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -1154,12 +1155,13 @@ exports[`Area chart rendering Should render the Area Chart with tozeroy mode 1`] font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -1338,7 +1340,7 @@ exports[`Area chart rendering Should render the Area Chart with tozeroy mode 1`] fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementchart_6" + id="yAxisGElementchart_5" text-anchor="end" transform="translate(40, 0)" > @@ -1952,7 +1954,7 @@ exports[`Area chart rendering Should render the Area Chart with tozeroy mode 1`] &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -6150,12 +6152,13 @@ exports[`Area chart rendering Should render the Area chart with secondary Y axis font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -6334,7 +6337,7 @@ exports[`Area chart rendering Should render the Area chart with secondary Y axis fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementchart_6" + id="yAxisGElementchart_5" text-anchor="end" transform="translate(40, 0)" > @@ -6463,7 +6466,7 @@ exports[`Area chart rendering Should render the Area chart with secondary Y axis fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementSecondarychart_6" + id="yAxisGElementSecondarychart_5" text-anchor="start" transform="translate(610, 0)" > @@ -7078,7 +7081,7 @@ exports[`Area chart rendering Should render the Area chart with secondary Y axis &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -9760,12 +9763,13 @@ exports[`Area chart rendering Should render the area chart with numeric x-axis d font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -9944,7 +9948,7 @@ exports[`Area chart rendering Should render the area chart with numeric x-axis d fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementchart_6" + id="yAxisGElementchart_5" text-anchor="end" transform="translate(40, 0)" > @@ -10558,7 +10562,7 @@ exports[`Area chart rendering Should render the area chart with numeric x-axis d &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -10912,12 +10916,13 @@ exports[`AreaChart - Theme Should reflect theme change 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_9" + id="chart_8" >
@@ -11096,7 +11101,7 @@ exports[`AreaChart - Theme Should reflect theme change 1`] = ` fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementchart_9" + id="yAxisGElementchart_8" text-anchor="end" transform="translate(40, 0)" > @@ -11710,7 +11715,7 @@ exports[`AreaChart - Theme Should reflect theme change 1`] = ` &:focus { outline: none; } - data-focuszone-id="FocusZone13" + data-focuszone-id="FocusZone12" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -12052,12 +12057,13 @@ exports[`Screen resolution Should remain unchanged on zoom in 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -12236,7 +12242,7 @@ exports[`Screen resolution Should remain unchanged on zoom in 1`] = ` fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementchart_6" + id="yAxisGElementchart_5" text-anchor="end" transform="translate(40, 0)" > @@ -12850,7 +12856,7 @@ exports[`Screen resolution Should remain unchanged on zoom in 1`] = ` &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -13191,12 +13197,13 @@ exports[`Screen resolution Should remain unchanged on zoom out 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -13375,7 +13382,7 @@ exports[`Screen resolution Should remain unchanged on zoom out 1`] = ` fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementchart_6" + id="yAxisGElementchart_5" text-anchor="end" transform="translate(40, 0)" > @@ -13989,7 +13996,7 @@ exports[`Screen resolution Should remain unchanged on zoom out 1`] = ` &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > diff --git a/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.base.tsx b/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.base.tsx index 0a62a2f9d0f623..f60b5188ab33ce 100644 --- a/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.base.tsx +++ b/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.base.tsx @@ -32,6 +32,7 @@ import { truncateString, tooltipOfAxislabels, DEFAULT_WRAP_WIDTH, + autoLayoutXAxisLabels, } from '../../utilities/index'; import { LegendShape, Shape } from '../Legends/index'; import { SVGTooltipText, ISVGTooltipTextProps } from '../../utilities/SVGTooltipText'; @@ -80,7 +81,7 @@ export class CartesianChartBase private idForDefaultTabbableElement: string; private _reqID: number; private _isRtl: boolean = getRTL(); - private _tickValues: (string | number)[]; + private _tickLabels: string[]; private _isFirstRender: boolean = true; /* Used for when WrapXAxisLabels props appeared. * To display the total word (space separated words), Need to have more space than usual. @@ -242,7 +243,8 @@ export class CartesianChartBase xAxisInnerPadding: this.props.xAxisInnerPadding, xAxisOuterPadding: this.props.xAxisOuterPadding, containerWidth: this.state.containerWidth, - hideTickOverlap: this.props.hideTickOverlap, + hideTickOverlap: + this.props.rotateXAxisLables || this.props.xAxis?.tickLayout === 'auto' ? false : this.props.hideTickOverlap, calcMaxLabelWidth: this._calcMaxLabelWidthWithTransform, xMinValue: this.props.xMinValue, xMaxValue: this.props.xMaxValue, @@ -257,10 +259,11 @@ export class CartesianChartBase */ // eslint-disable-next-line @typescript-eslint/no-explicit-any let xScale: any; - let tickValues: (string | number)[]; + let tickValues: number[] | Date[] | string[]; + let tickLabels: string[]; switch (this.props.xAxisType!) { case XAxisTypes.NumericAxis: - ({ xScale, tickValues } = createNumericXAxis( + ({ xScale, tickValues, tickLabels } = createNumericXAxis( XAxisParams, this.props.tickParams!, this.props.chartType, @@ -269,7 +272,7 @@ export class CartesianChartBase )); break; case XAxisTypes.DateAxis: - ({ xScale, tickValues } = createDateXAxis( + ({ xScale, tickValues, tickLabels } = createDateXAxis( XAxisParams, this.props.tickParams!, culture, @@ -281,7 +284,7 @@ export class CartesianChartBase )); break; case XAxisTypes.StringAxis: - ({ xScale, tickValues } = createStringXAxis( + ({ xScale, tickValues, tickLabels } = createStringXAxis( XAxisParams, this.props.tickParams!, this.props.datasetForXAxisDomain!, @@ -289,7 +292,7 @@ export class CartesianChartBase )); break; default: - ({ xScale, tickValues } = createNumericXAxis( + ({ xScale, tickValues, tickLabels } = createNumericXAxis( XAxisParams, this.props.tickParams!, this.props.chartType, @@ -298,9 +301,20 @@ export class CartesianChartBase )); } this._xScale = xScale; - this._tickValues = tickValues; - - this._transformXAxisLabels(); + this._tickLabels = tickLabels; + + if (this.props.xAxis?.tickLayout === 'auto') { + this._removalValueForTextTuncate = autoLayoutXAxisLabels( + tickValues, + tickLabels, + xScale, + this.xAxisElement, + this.state.containerWidth, + this.chartContainer, + ); + } else { + this._transformXAxisLabels(); + } const YAxisParams = { margins: this.props.getYDomainMargins ? this.props.getYDomainMargins(this.state.containerHeight) : this.margins, @@ -384,22 +398,28 @@ export class CartesianChartBase this._yAxisTickText = axisData.yAxisTickText; this.props.getAxisData && this.props.getAxisData(axisData); - // Removing un wanted tooltip div from DOM, when prop not provided, for proper cleanup - // of unwanted DOM elements, to prevent flacky behaviour in tooltips , that might occur - // in creating tooltips when tooltips are enabled( as we try to recreate a tspan with this._tooltipId) - if (!this.props.showYAxisLablesTooltip) { - try { - document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove(); - //eslint-disable-next-line no-empty - } catch (e) {} + // Removing previously created tooltips. + try { + // eslint-disable-next-line @nx/workspace-no-restricted-globals + document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove(); + // eslint-disable-next-line no-empty + } catch (e) {} + // Used to display tooltip at x axis labels. + if (this.props.showXAxisLablesTooltip || this.props.xAxis?.tickLayout === 'auto') { + const xAxisElement = this.xAxisElement ? d3Select(this.xAxisElement).call(xScale) : null; + const tooltipProps = { + tooltipCls: this._classNames.tooltip!, + id: this._tooltipId, + axis: xAxisElement, + container: this.chartContainer, + }; + xAxisElement && tooltipOfAxislabels(tooltipProps); } // Used to display tooltip at y axis labels. if (this.props.showYAxisLablesTooltip) { // To create y axis tick values by if specified truncating the rest of the text // and showing elipsis or showing the whole string, yScalePrimary && - // Note: This function should be invoked within the showYAxisLablesTooltip check, - // as its sole purpose is to truncate labels that exceed the noOfCharsToTruncate limit. createYAxisLabels( this.yAxisElement, yScalePrimary, @@ -408,15 +428,12 @@ export class CartesianChartBase this._isRtl, ); - const yAxisElement = d3Select(this.yAxisElement).call(yScalePrimary); - try { - document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove(); - //eslint-disable-next-line no-empty - } catch (e) {} + const yAxisElement = this.yAxisElement ? d3Select(this.yAxisElement).call(yScalePrimary) : null; const ytooltipProps = { tooltipCls: this._classNames.tooltip!, id: this._tooltipId, axis: yAxisElement, + container: this.chartContainer, }; yAxisElement && tooltipOfAxislabels(ytooltipProps); } @@ -928,8 +945,8 @@ export class CartesianChartBase private _calculateChartMinWidth = (): number => { // Adding 10px for padding on both sides - const labelWidth = this._calcMaxLabelWidthWithTransform(this._tickValues) + 10; - let minChartWidth = this.margins.left! + this.margins.right! + labelWidth * (this._tickValues.length - 1); + const labelWidth = this._calcMaxLabelWidthWithTransform(this._tickLabels) + 10; + let minChartWidth = this.margins.left! + this.margins.right! + labelWidth * (this._tickLabels.length - 1); if ( [ChartTypes.GroupedVerticalBarChart, ChartTypes.VerticalBarChart, ChartTypes.VerticalStackedBarChart].includes( @@ -984,12 +1001,12 @@ export class CartesianChartBase // Case: truncated labels if (this.props.showXAxisLablesTooltip) { - const tickValues = x.map(val => { + const tickLabels = x.map(val => { const numChars = this.props.noOfCharsToTruncate || 4; return val.toString().length > numChars ? `${val.toString().slice(0, numChars)}...` : val; }); - const longestLabelWidth = calculateLongestLabelWidth(tickValues, `.${this._classNames.xAxis} text`); + const longestLabelWidth = calculateLongestLabelWidth(tickLabels, `.${this._classNames.xAxis} text`); return Math.ceil(longestLabelWidth); } @@ -1038,6 +1055,7 @@ export class CartesianChartBase showXAxisLablesTooltip: this.props.showXAxisLablesTooltip || false, noOfCharsToTruncate: this.props.noOfCharsToTruncate || 4, width: maxXAxisLabelWidth, + container: this.chartContainer, }; this._removalValueForTextTuncate = createWrapOfXLabels(wrapLabelProps) ?? 0; } diff --git a/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.styles.ts b/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.styles.ts index b93395f85b0328..d25879607d1333 100644 --- a/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.styles.ts +++ b/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.styles.ts @@ -1,7 +1,7 @@ import { ICartesianChartStyleProps, ICartesianChartStyles } from './CartesianChart.types'; import { HighContrastSelector } from '@fluentui/react/lib/Styling'; import { isIE11 } from '@fluentui/react'; -import { getAxisTitleStyle, getTooltipStyle } from '../../utilities/index'; +import { CARTESIAN_XAXIS_CLASSNAME, getAxisTitleStyle, getTooltipStyle } from '../../utilities/index'; const isIE11Var: boolean = isIE11(); @@ -26,6 +26,7 @@ export const getStyles = (props: ICartesianChartStyleProps): ICartesianChartStyl height: '100%', flexDirection: 'column', overflow: 'hidden', + position: 'relative', }, className, ], @@ -40,36 +41,39 @@ export const getStyles = (props: ICartesianChartStyleProps): ICartesianChartStyl }, axisTitle: getAxisTitleStyle(theme!, theme.fonts.xSmall), axisAnnotation: getAxisTitleStyle(theme!, theme.fonts.small), - xAxis: { - selectors: { - text: [ - theme.fonts.tiny, - { - fill: theme.semanticColors.bodyText, - fontWeight: '600', + xAxis: [ + { + selectors: { + text: [ + theme.fonts.tiny, + { + fill: theme.semanticColors.bodyText, + fontWeight: '600', + selectors: { + [HighContrastSelector]: { + fill: 'CanvasText', + }, + }, + }, + ], + line: { + opacity: 0.2, + stroke: theme.semanticColors.bodyText, + width: '1px', selectors: { [HighContrastSelector]: { - fill: 'CanvasText', + opacity: 0.1, + stroke: 'CanvasText', }, }, }, - ], - line: { - opacity: 0.2, - stroke: theme.semanticColors.bodyText, - width: '1px', - selectors: { - [HighContrastSelector]: { - opacity: 0.1, - stroke: 'CanvasText', - }, + path: { + display: 'none', }, }, - path: { - display: 'none', - }, }, - }, + CARTESIAN_XAXIS_CLASSNAME, + ], yAxis: { selectors: { text: [ diff --git a/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.types.ts b/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.types.ts index cc4982c4243d58..d052a52e93f86d 100644 --- a/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.types.ts +++ b/packages/charts/react-charting/src/components/CommonComponents/CartesianChart.types.ts @@ -566,7 +566,17 @@ export interface ICartesianChartProps { * Configuration for the x-axis. * Use this to control `tickStep`, `tick0`, etc. */ - xAxis?: AxisProps; + xAxis?: AxisProps & { + /** + * Controls how x-axis tick labels are laid out. + * + * - `'auto'`: Tick labels are automatically wrapped, truncated, and staggered + * across alternating levels based on the available space to prevent overlap. + * + * @default 'default' + */ + tickLayout?: 'default' | 'auto'; + }; /** * Configuration for the y-axis. diff --git a/packages/charts/react-charting/src/components/DeclarativeChart/DeclarativeChart.tsx b/packages/charts/react-charting/src/components/DeclarativeChart/DeclarativeChart.tsx index 41ef10ffb679c5..c0880ffe4d74ed 100644 --- a/packages/charts/react-charting/src/components/DeclarativeChart/DeclarativeChart.tsx +++ b/packages/charts/react-charting/src/components/DeclarativeChart/DeclarativeChart.tsx @@ -26,13 +26,14 @@ import { transformPlotlyJsonToVBCProps, transformPlotlyJsonToChartTableProps, transformPlotlyJsonToScatterChartProps, - projectPolarToCartesian, getAllupLegendsProps, NON_PLOT_KEY_PREFIX, SINGLE_REPEAT, transformPlotlyJsonToFunnelChartProps, transformPlotlyJsonToGanttChartProps, transformPlotlyJsonToAnnotationChartProps, + transformPlotlyJsonToPolarChartProps, + DEFAULT_POLAR_SUBPLOT, } from './PlotlySchemaAdapter'; import type { ColorwayType } from './PlotlyColorAdapter'; import { LineChart } from '../LineChart/index'; @@ -53,6 +54,7 @@ import { ILegendContainer, ILegendsProps, Legends } from '../Legends/index'; import type { JSXElement } from '@fluentui/utilities'; import { exportChartsAsImage } from '../../utilities/image-export-utils'; import { resolveCSSVariables } from '../../utilities/utilities'; +import { PolarChart } from '../PolarChart/index'; const ResponsiveDonutChart = withResponsiveContainer(DonutChart); const ResponsiveVerticalStackedBarChart = withResponsiveContainer(VerticalStackedBarChart); @@ -69,6 +71,7 @@ const ResponsiveChartTable = withResponsiveContainer(ChartTable); // Removing responsive wrapper for FunnelChart as responsive container is not working with FunnelChart //const ResponsiveFunnelChart = withResponsiveContainer(FunnelChart); const ResponsiveGanttChart = withResponsiveContainer(GanttChart); +const ResponsivePolarChart = withResponsiveContainer(PolarChart); // Default x-axis key for grouping traces. Also applicable for PieData and SankeyData where x-axis is not defined. const DEFAULT_XAXIS = 'x'; @@ -233,6 +236,10 @@ type ChartTypeMap = { transformer: typeof transformPlotlyJsonToGanttChartProps; renderer: typeof ResponsiveGanttChart; } & PreTransformHooks; + scatterpolar: { + transformer: typeof transformPlotlyJsonToPolarChartProps; + renderer: typeof ResponsivePolarChart; + } & PreTransformHooks; fallback: { transformer: typeof transformPlotlyJsonToVSBCProps; renderer: typeof ResponsiveVerticalStackedBarChart; @@ -307,6 +314,10 @@ const chartMap: ChartTypeMap = { transformer: transformPlotlyJsonToGanttChartProps, renderer: ResponsiveGanttChart, }, + scatterpolar: { + transformer: transformPlotlyJsonToPolarChartProps, + renderer: ResponsivePolarChart, + }, fallback: { transformer: transformPlotlyJsonToVSBCProps, renderer: ResponsiveVerticalStackedBarChart, @@ -433,24 +444,6 @@ export const DeclarativeChart: React.FunctionComponent = [exportAsImage], ); - if (chart.type === 'scatterpolar') { - const cartesianProjection = projectPolarToCartesian(plotlyInputWithValidData); - plotlyInputWithValidData.data = cartesianProjection.data; - plotlyInputWithValidData.layout = cartesianProjection.layout; - validTracesFilteredIndex.forEach((trace, index) => { - if (trace.type === 'scatterpolar') { - const mode = (plotlyInputWithValidData.data[index] as PlotData)?.mode ?? ''; - if (mode.includes('line')) { - validTracesFilteredIndex[index].type = 'line'; - } else if (mode.includes('markers') || mode === 'text') { - validTracesFilteredIndex[index].type = 'scatter'; - } else { - validTracesFilteredIndex[index].type = 'line'; - } - } - }); - } - const groupedTraces: Record = {}; let nonCartesianTraceCount = 0; @@ -464,7 +457,10 @@ export const DeclarativeChart: React.FunctionComponent = traceKey = `${NON_PLOT_KEY_PREFIX}${nonCartesianTraceCount + 1}`; nonCartesianTraceCount++; } else { - traceKey = (trace as PlotData).xaxis ?? DEFAULT_XAXIS; + traceKey = + chart.validTracesInfo![index].type === 'scatterpolar' + ? (trace as { subplot?: string }).subplot ?? DEFAULT_POLAR_SUBPLOT + : (trace as PlotData).xaxis ?? DEFAULT_XAXIS; } if (!groupedTraces[traceKey]) { groupedTraces[traceKey] = []; diff --git a/packages/charts/react-charting/src/components/DeclarativeChart/PlotlySchemaAdapter.ts b/packages/charts/react-charting/src/components/DeclarativeChart/PlotlySchemaAdapter.ts index cb283023fdb422..8758b78eca4416 100644 --- a/packages/charts/react-charting/src/components/DeclarativeChart/PlotlySchemaAdapter.ts +++ b/packages/charts/react-charting/src/components/DeclarativeChart/PlotlySchemaAdapter.ts @@ -65,6 +65,7 @@ import type { DTickValue, AxisType, Shape, + PolarLayout, } from '@fluentui/chart-utilities'; import { isArrayOrTypedArray, @@ -99,6 +100,7 @@ import { ChartAnnotationVerticalAlign, } from '../../types/IChartAnnotation'; import { calculatePrecision, precisionRound } from '@fluentui/react'; +import { PolarAxisProps, IPolarChartProps } from '../PolarChart/index'; export const NON_PLOT_KEY_PREFIX = 'nonplot_'; export const SINGLE_REPEAT = 'repeat(1, 1fr)'; @@ -108,6 +110,10 @@ type DomainInterval = { end: number; }; +type ExtDomainInterval = DomainInterval & { + cellName: string; +}; + export type AxisProperties = { xAnnotation?: string; yAnnotation?: string; @@ -1584,7 +1590,6 @@ export const transformPlotlyJsonToVSBCProps = ( noOfCharsToTruncate: 20, showYAxisLablesTooltip: true, roundedTicks: true, - wrapXAxisLables: typeof vsbcData[0]?.xAxisPoint === 'string', ...getXMinMaxValues(input.data[0], input.layout), ...getTitles(input.layout), ...getAxisCategoryOrderProps(input.data, input.layout), @@ -1768,7 +1773,6 @@ export const transformPlotlyJsonToGVBCProps = ( hideLegend, roundCorners: true, roundedTicks: true, - wrapXAxisLables: true, showYAxisLables: true, ...getXMinMaxValues(processedInput.data[0], processedInput.layout), ...getTitles(processedInput.layout), @@ -1892,7 +1896,6 @@ export const transformPlotlyJsonToVBCProps = ( hideLegend, roundCorners: true, roundedTicks: true, - wrapXAxisLables: typeof vbcData[0]?.x === 'string', showYAxisLables: true, ...getXMinMaxValues(input.data[0], input.layout), ...getTitles(input.layout), @@ -2001,9 +2004,7 @@ const transformPlotlyJsonToScatterTraceProps = ( let mode: string = 'tonexty'; const { legends, hideLegend } = getLegendProps(input.data, input.layout, isMultiPlot); const yAxisTickFormat = getYAxisTickFormat(input.data[0], input.layout); - const xAxisType = getAxisType(input.data, getAxisObjects(input.data, input.layout).x); - const resolveXValue = getAxisValueResolver(xAxisType); - const shouldWrapLabels = xAxisType === 'category'; + const resolveXValue = getAxisValueResolver(getAxisType(input.data, getAxisObjects(input.data, input.layout).x)); const chartData: ILineChartPoints[] = input.data .map((series: Partial, index: number) => { const colors = isScatterMarkers @@ -2179,7 +2180,6 @@ const transformPlotlyJsonToScatterTraceProps = ( hideLegend, useUTC: false, optimizeLargeData: numDataPoints > 1000, - wrapXAxisLables: shouldWrapLabels, showYAxisLables: true, roundedTicks: true, ...getXMinMaxValues(input.data[0], input.layout), @@ -2623,7 +2623,6 @@ export const transformPlotlyJsonToHeatmapProps = ( hideTickOverlap: true, noOfCharsToTruncate: 20, showYAxisLablesTooltip: true, - wrapXAxisLables: true, ...getTitles(input.layout), ...getAxisCategoryOrderProps([firstData], input.layout), ...getAxisTickProps(input.data, input.layout), @@ -3175,154 +3174,109 @@ export const transformPlotlyJsonToFunnelChartProps = ( }; }; -export const projectPolarToCartesian = (input: PlotlySchema): PlotlySchema => { - const projection: PlotlySchema = { ...input }; - - // Find the global min and max radius across all series - let minRadius = 0; - let maxRadius = 0; - for (let sindex = 0; sindex < input.data.length; sindex++) { - const rVals = (input.data[sindex] as Partial).r; - if (rVals && isArrayOrTypedArray(rVals)) { - for (let ptindex = 0; ptindex < rVals.length; ptindex++) { - if (!isInvalidValue(rVals[ptindex])) { - minRadius = Math.min(minRadius, rVals[ptindex] as number); - maxRadius = Math.max(maxRadius, rVals[ptindex] as number); - } - } - } - } - - // If there are negative radii, compute the shift - const radiusShift = minRadius < 0 ? -minRadius : 0; - - // Collect all unique theta values from all scatterpolar series for equal spacing - const allThetaValues: Set = new Set(); - for (let sindex = 0; sindex < input.data.length; sindex++) { - const series = input.data[sindex] as Partial; - if (series.theta && isArrayOrTypedArray(series.theta)) { - series.theta.forEach(theta => allThetaValues.add(String(theta))); - } - } - - // Project all points and create a perfect square domain - const allX: number[] = []; - const allY: number[] = []; - let originX: number | null = null; - for (let sindex = 0; sindex < input.data.length; sindex++) { - const series = input.data[sindex] as Partial; - // If scatterpolar, set __axisLabel to all unique theta values for equal spacing - if (isArrayOrTypedArray(series.theta)) { - (series as { __axisLabel: string[] }).__axisLabel = Array.from(allThetaValues); - } - series.x = [] as Datum[]; - series.y = [] as Datum[]; - const thetas = series.theta!; - const rVals = series.r!; - - // Skip if rVals or thetas are not arrays - if (!isArrayOrTypedArray(rVals) || !isArrayOrTypedArray(thetas)) { - projection.data[sindex] = series; - continue; - } +export const transformPlotlyJsonToPolarChartProps = ( + input: PlotlySchema, + isMultiPlot: boolean, + colorMap: React.RefObject>, + colorwayType: ColorwayType, + isDarkTheme?: boolean, +): IPolarChartProps => { + const polarData: IPolarChartProps['data'] = []; + const { legends, hideLegend } = getLegendProps(input.data, input.layout, isMultiPlot); + const resolveRValue = getAxisValueResolver(getPolarAxis(input.data, 'r', input.layout)._type); - // retrieve polar axis settings - const dirMultiplier = input.layout?.polar?.angularaxis?.direction === 'clockwise' ? -1 : 1; - const startAngleInRad = ((input.layout?.polar?.angularaxis?.rotation ?? 0) * Math.PI) / 180; + input.data.forEach((series: Partial, index: number) => { + const legend = legends[index]; - // Compute tick positions if categorical - let uniqueTheta: Datum[] = []; - let categorical = false; - if (!isNumberArray(thetas)) { - uniqueTheta = Array.from(new Set(thetas)); - categorical = true; - } + if (series.type === 'scatterpolar') { + const isAreaTrace = series.fill === 'toself' || series.fill === 'tonext'; + const isLineTrace = typeof series.mode === 'undefined' ? true : series.mode.includes('lines'); + const colors = isAreaTrace ? series.fillcolor : isLineTrace ? series.line?.color : series.marker?.color; + const extractedColors = extractColor( + input.layout?.template?.layout?.colorway, + colorwayType, + colors, + colorMap, + isDarkTheme, + ); + const seriesColor = resolveColor( + extractedColors, + index, + legend, + colorMap, + input.layout?.template?.layout?.colorway, + isDarkTheme, + ); + const seriesOpacity = getOpacity(series, index); + const finalSeriesColor = rgb(seriesColor).copy({ opacity: seriesOpacity }).formatHex8(); + const lineOptions = getLineOptions(series.line); + const thetaUnit = (series as { thetaunit?: 'radians' | 'degrees' | 'gradians' }).thetaunit; - for (let ptindex = 0; ptindex < rVals.length; ptindex++) { - if (isInvalidValue(thetas?.[ptindex]) || isInvalidValue(rVals?.[ptindex])) { - continue; - } + const commonProps = { + legend, + legendShape: getLegendShape(series), + color: finalSeriesColor, + data: + series.r + ?.map((r, rIndex) => { + const theta = series.theta?.[rIndex]; + const markerSize = Array.isArray(series.marker?.size) ? series.marker.size[rIndex] : series.marker?.size; + const text = Array.isArray(series.text) ? series.text[rIndex] : series.text; + const markerColor = resolveColor( + extractedColors, + rIndex, + legend, + colorMap, + input.layout?.template?.layout?.colorway, + isDarkTheme, + ); + const markerOpacity = getOpacity(series, rIndex); + + if (isInvalidValue(resolveRValue(r)) || isInvalidValue(theta)) { + return; + } + + return { + r: resolveRValue(r)!, + theta: + typeof theta === 'number' + ? thetaUnit === 'radians' + ? (theta * 180) / Math.PI + : thetaUnit === 'gradians' + ? theta * 0.9 + : theta + : (theta as string), + color: markerColor ? rgb(markerColor).copy({ opacity: markerOpacity }).formatHex8() : finalSeriesColor, + ...(typeof markerSize !== 'undefined' ? { markerSize } : {}), + ...(typeof text !== 'undefined' ? { text } : {}), + }; + }) + .filter(item => typeof item !== 'undefined') || [], + }; - // Map theta to angle in radians - let thetaRad: number; - if (categorical) { - const idx = uniqueTheta.indexOf(thetas[ptindex]); - const step = (2 * Math.PI) / uniqueTheta.length; - thetaRad = startAngleInRad + dirMultiplier * idx * step; + if (isAreaTrace || isLineTrace) { + polarData.push({ + type: isAreaTrace ? 'areapolar' : 'linepolar', + ...commonProps, + lineOptions, + }); } else { - thetaRad = startAngleInRad + dirMultiplier * (((thetas[ptindex] as number) * Math.PI) / 180); - } - // Shift only the polar origin (not the cartesian) - const rawRadius = rVals[ptindex] as number; - const polarRadius = rawRadius + radiusShift; // Only for projection - // Calculate cartesian coordinates (with shifted polar origin) - const x = polarRadius * Math.cos(thetaRad); - const y = polarRadius * Math.sin(thetaRad); - - // Calculate the cartesian coordinates of the original polar origin (0,0) - // This is the point that should be mapped to (0,0) in cartesian coordinates - if (sindex === 0 && ptindex === 0) { - // For polar origin (r=0, θ=0), cartesian coordinates are (0,0) - // But since we shifted the radius by radiusShift, the cartesian origin is at (radiusShift, 0) - originX = radiusShift; - } - - series.x.push(x); - series.y.push(y); - allX.push(x); - allY.push(y); - } - - // Map text to each data point for downstream chart rendering - if (series.x && series.y) { - (series as { data?: unknown[] }).data = series.x.map((xVal, idx) => ({ - x: xVal, - y: (series.y as number[])[idx], - ...(series.text ? { text: (series.text as string[])[idx] } : {}), - })); - } - - projection.data[sindex] = series; - } - - // 7. Recenter all cartesian coordinates - if (originX !== null) { - for (let sindex = 0; sindex < projection.data.length; sindex++) { - const series = projection.data[sindex] as Partial; - if (series.x && series.y) { - series.x = (series.x as number[]).map((v: number) => v - originX!); + polarData.push({ + type: 'scatterpolar', + ...commonProps, + }); } } - // Also recenter allX for normalization - for (let i = 0; i < allX.length; i++) { - allX[i] = allX[i] - originX!; - } - } - - // 8. Find the maximum absolute value among all x and y - let maxAbs = Math.max(...allX.map(Math.abs), ...allY.map(Math.abs)); - maxAbs = maxAbs === 0 ? 1 : maxAbs; - - // 9. Rescale all points so that the largest |x| or |y| is 0.5 - for (let sindex = 0; sindex < projection.data.length; sindex++) { - const series = projection.data[sindex] as Partial; - if (series.x && series.y) { - series.x = (series.x as number[]).map((v: number) => v / (2 * maxAbs)); - series.y = (series.y as number[]).map((v: number) => v / (2 * maxAbs)); - } - } + }); - // 10. Customize layout for perfect square with absolute positioning - const size = input.layout?.width || input.layout?.height || 500; - projection.layout = { - ...projection.layout, - width: size, - height: size, + return { + data: polarData, + width: input.layout?.width, + height: input.layout?.height ?? 400, + hideLegend, + ...getPolarAxisProps(input.data, input.layout), + // ...getTitles(input.layout), }; - // Attach originX as custom properties - (projection.layout as { __polarOriginX?: number }).__polarOriginX = originX ?? undefined; - - return projection; }; // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -3695,8 +3649,8 @@ export const getGridProperties = ( isMultiPlot: boolean, validTracesInfo: TraceInfo[], ): GridProperties => { - const domainX: DomainInterval[] = []; - const domainY: DomainInterval[] = []; + const domainX: ExtDomainInterval[] = []; + const domainY: ExtDomainInterval[] = []; let cartesianDomains = 0; type AnnotationProps = { xAnnotation?: string; @@ -3722,9 +3676,10 @@ export const getGridProperties = ( throw new Error(`Invalid layout: xaxis ${index + 1} anchor should be y${anchorIndex + 1}`); } const xAxisLayout = layout[key as keyof typeof layout] as Partial; - const domainXInfo: DomainInterval = { + const domainXInfo: ExtDomainInterval = { start: xAxisLayout?.domain ? xAxisLayout.domain[0] : 0, end: xAxisLayout?.domain ? xAxisLayout.domain[1] : 1, + cellName: `x${domainX.length === 0 ? '' : domainX.length + 1}` as XAxisName, }; domainX.push(domainXInfo); } else if (key.startsWith('yaxis')) { @@ -3739,9 +3694,10 @@ export const getGridProperties = ( throw new Error(`Invalid layout: yaxis ${index + 1} anchor should be x${anchorIndex + 1}`); } const yAxisLayout = layout[key as keyof typeof layout] as Partial; - const domainYInfo: DomainInterval = { + const domainYInfo: ExtDomainInterval = { start: yAxisLayout?.domain ? yAxisLayout.domain[0] : 0, end: yAxisLayout?.domain ? yAxisLayout.domain[1] : 1, + cellName: `x${domainY.length === 0 ? '' : domainY.length + 1}` as XAxisName, }; domainY.push(domainYInfo); } @@ -3752,13 +3708,15 @@ export const getGridProperties = ( validTracesInfo.forEach((trace, index) => { if (isNonPlotType(trace.type)) { const series = schema?.data?.[index] as Partial | Partial; - const domainXInfo: DomainInterval = { + const domainXInfo: ExtDomainInterval = { start: series.domain?.x ? series.domain.x[0] : 0, end: series.domain?.x ? series.domain.x[1] : 1, + cellName: `${NON_PLOT_KEY_PREFIX}${domainX.length - cartesianDomains + 1}`, }; - const domainYInfo: DomainInterval = { + const domainYInfo: ExtDomainInterval = { start: series.domain?.y ? series.domain.y[0] : 0, end: series.domain?.y ? series.domain.y[1] : 1, + cellName: `${NON_PLOT_KEY_PREFIX}${domainY.length - cartesianDomains + 1}`, }; domainX.push(domainXInfo); domainY.push(domainYInfo); @@ -3766,6 +3724,23 @@ export const getGridProperties = ( }); if (layout !== undefined && layout !== null && Object.keys(layout).length > 0) { + Object.keys(layout ?? {}).forEach(key => { + if (key.startsWith('polar')) { + const polarLayout = layout[key as keyof Layout] as Partial; + const domainXInfo: ExtDomainInterval = { + start: polarLayout.domain?.x ? polarLayout.domain.x[0] : 0, + end: polarLayout.domain?.x ? polarLayout.domain.x[1] : 1, + cellName: key, + }; + const domainYInfo: ExtDomainInterval = { + start: polarLayout.domain?.y ? polarLayout.domain.y[0] : 0, + end: polarLayout.domain?.y ? polarLayout.domain.y[1] : 1, + cellName: key, + }; + domainX.push(domainXInfo); + domainY.push(domainYInfo); + } + }); layout.annotations?.forEach(annotation => { const xMatches = domainX.flatMap((interval, idx) => (annotation?.x as number) >= interval.start && (annotation?.x as number) <= interval.end ? [idx] : [], @@ -3791,7 +3766,7 @@ export const getGridProperties = ( } if (domainX.length > 0) { - const uniqueXIntervals = new Map(); + const uniqueXIntervals = new Map(); domainX.forEach(interval => { const key = `${interval.start}-${interval.end}`; if (!uniqueXIntervals.has(key)) { @@ -3806,11 +3781,6 @@ export const getGridProperties = ( templateColumns = `repeat(${sortedXStart.length}, 1fr)`; domainX.forEach((interval, index) => { - const cellName = - index >= cartesianDomains - ? `${NON_PLOT_KEY_PREFIX}${index - cartesianDomains + 1}` - : (`x${index === 0 ? '' : index + 1}` as XAxisName); - const columnIndex = sortedXStart.findIndex(start => start === interval.start); const columnNumber = columnIndex + 1; // Column numbers are 1-based @@ -3824,12 +3794,12 @@ export const getGridProperties = ( xDomain: interval, yDomain: { start: 0, end: 1 }, // Default yDomain for x-axis }; - gridLayout[cellName] = row; + gridLayout[interval.cellName] = row; }); } if (domainY.length > 0) { - const uniqueYIntervals = new Map(); + const uniqueYIntervals = new Map(); domainY.forEach(interval => { const key = `${interval.start}-${interval.end}`; if (!uniqueYIntervals.has(key)) { @@ -3845,17 +3815,12 @@ export const getGridProperties = ( templateRows = `repeat(${numberOfRows}, 1fr)`; domainY.forEach((interval, index) => { - const cellName = - index >= cartesianDomains - ? `${NON_PLOT_KEY_PREFIX}${index - cartesianDomains + 1}` - : (`x${index === 0 ? '' : index + 1}` as XAxisName); - const rowIndex = sortedYStart.findIndex(start => start === interval.start); const rowNumber = numberOfRows - rowIndex; // Rows are 1-based and we need to reverse the order for CSS grid const annotationProps = annotations[index] as AnnotationProps; const yAnnotation = annotationProps?.yAnnotation; - const cell = gridLayout[cellName]; + const cell = gridLayout[interval.cellName]; if (cell !== undefined) { cell.row = rowNumber; @@ -4046,17 +4011,25 @@ const getAxisTickProps = (data: Data[], layout: Partial | undefined): Ge const axType = getAxisType(data, ax); + if (axId === 'x' && axType === 'category') { + props.xAxis = { + tickLayout: 'auto', + }; + } + if ((!ax.tickmode || ax.tickmode === 'array') && isArrayOrTypedArray(ax.tickvals)) { const tickValues = axType === 'date' ? ax.tickvals!.map(v => new Date(v)) : ax.tickvals; if (axId === 'x') { props.tickValues = tickValues; props.xAxis = { + ...props.xAxis, tickText: ax.ticktext, }; } else if (axId === 'y') { props.yAxisTickValues = tickValues; props.yAxis = { + ...props.yAxis, tickText: ax.ticktext, }; } @@ -4069,11 +4042,13 @@ const getAxisTickProps = (data: Data[], layout: Partial | undefined): Ge if (axId === 'x') { props.xAxis = { + ...props.xAxis, tickStep: dtick, tick0, }; } else if (axId === 'y') { props.yAxis = { + ...props.yAxis, tickStep: dtick, tick0, }; @@ -4265,3 +4240,132 @@ const getAxisValueResolver = (axType: AxisType, dateParser?: (v: string | number } }; }; + +type PolarDataKey = 'r' | 'theta'; +interface IPolarAxisObject extends Partial { + _type: AxisType; + _dataKey: PolarDataKey; +} + +const POLAR_AXIS_BY_DATA_KEY: Record = { + r: 'radialAxis', + theta: 'angularAxis', +}; +export const DEFAULT_POLAR_SUBPLOT = 'polar'; + +const getPolarLayout = ( + trace: Partial, + layout: Partial | undefined, +): Partial | undefined => { + const subplotId = ((trace as { subplot?: string })?.subplot || DEFAULT_POLAR_SUBPLOT) as keyof Layout; + return layout?.[subplotId]; +}; + +const getValidAxisValues = (data: Data[], dataKey: PolarDataKey): Datum[] => { + const values: Datum[] = []; + data.forEach((series: Partial) => { + if (isArrayOrTypedArray(series[dataKey])) { + (series[dataKey] as Datum[]).forEach(val => { + if (!isInvalidValue(val)) { + values.push(val as Datum); + } + }); + } + }); + return values; +}; + +const getPolarAxisType = (data: Data[], dataKey: PolarDataKey, declaredType: AxisType | undefined): AxisType => { + if (['linear', 'log', 'date', 'category'].includes(declaredType ?? '')) { + return declaredType!; + } + + const values = getValidAxisValues(data, dataKey); + if (isNumberArray(values) && !isYearArray(values)) { + return 'linear'; + } + if (isDateArray(values)) { + return 'date'; + } + return 'category'; +}; + +const getPolarAxis = (data: Data[], dataKey: PolarDataKey, layout: Partial | undefined): IPolarAxisObject => { + const polarLayout = getPolarLayout(data[0] as Partial, layout); + const ax = polarLayout?.[POLAR_AXIS_BY_DATA_KEY[dataKey].toLowerCase() as 'radialaxis' | 'angularaxis']; + return { + ...ax, + _dataKey: dataKey, + _type: getPolarAxisType(data, dataKey, ax?.type), + }; +}; + +const getPolarAxisTickProps = (data: Data[], ax: IPolarAxisObject): PolarAxisProps => { + const props: PolarAxisProps = {}; + + if ((!ax.tickmode || ax.tickmode === 'array') && isArrayOrTypedArray(ax.tickvals)) { + const tickValues = ax._type === 'date' ? ax.tickvals!.map((v: string | number | Date) => new Date(v)) : ax.tickvals; + + props.tickValues = tickValues; + props.tickText = ax.ticktext; + return props; + } + + if ((!ax.tickmode || ax.tickmode === 'linear') && ax.dtick) { + const dtick = plotlyDtick(ax.dtick, ax._type); + const tick0 = plotlyTick0(ax.tick0, ax._type, dtick); + + props.tickStep = dtick; + props.tick0 = tick0; + return props; + } + + if ((!ax.tickmode || ax.tickmode === 'auto') && typeof ax.nticks === 'number' && ax.nticks >= 0) { + props.tickCount = ax.nticks; + } + + return props; +}; + +const getPolarAxisCategoryOrder = (data: Data[], ax: IPolarAxisObject) => { + if (ax._type !== 'category') { + return 'data'; + } + + const isValidArray = isArrayOrTypedArray(ax.categoryarray) && ax.categoryarray!.length > 0; + if (isValidArray && (!ax.categoryorder || ax.categoryorder === 'array')) { + return ax.categoryarray; + } + + if (!ax.categoryorder || ax.categoryorder === 'trace' || ax.categoryorder === 'array') { + const values = getValidAxisValues(data, ax._dataKey); + const categoriesInTraceOrder = Array.from(new Set(values as string[])); + return ax.autorange === 'reversed' ? categoriesInTraceOrder.reverse() : categoriesInTraceOrder; + } + + return ax.categoryorder; +}; + +const getPolarAxisProps = (data: Data[], layout: Partial | undefined) => { + const props: Partial = {}; + + (Object.keys(POLAR_AXIS_BY_DATA_KEY) as PolarDataKey[]).forEach(dataKey => { + const propName = POLAR_AXIS_BY_DATA_KEY[dataKey]; + const ax = getPolarAxis(data, dataKey, layout); + + props[propName] = { + scaleType: ax._type === 'log' ? 'log' : 'default', + categoryOrder: getPolarAxisCategoryOrder(data, ax), + tickFormat: ax.tickformat, + ...getPolarAxisTickProps(data, ax), + ...(isArrayOrTypedArray(ax.range) ? { rangeStart: ax.range![0], rangeEnd: ax.range![1] } : {}), + }; + + if (propName === 'angularAxis') { + props[propName].unit = (ax as { thetaunit?: 'radians' | 'degrees' }).thetaunit; + props.direction = ax.direction; + } + }); + + return props; +}; diff --git a/packages/charts/react-charting/src/components/DeclarativeChart/PlotlySchemaAdapterUT.test.tsx b/packages/charts/react-charting/src/components/DeclarativeChart/PlotlySchemaAdapterUT.test.tsx index 8eb4d7e60655bf..7c15bc0fc2b7e3 100644 --- a/packages/charts/react-charting/src/components/DeclarativeChart/PlotlySchemaAdapterUT.test.tsx +++ b/packages/charts/react-charting/src/components/DeclarativeChart/PlotlySchemaAdapterUT.test.tsx @@ -15,7 +15,6 @@ import { transformPlotlyJsonToSankeyProps, transformPlotlyJsonToGaugeProps, transformPlotlyJsonToChartTableProps, - projectPolarToCartesian, findArrayAttributes, getAllupLegendsProps, isNonPlotType, @@ -155,19 +154,19 @@ describe('isMonthArray', () => { describe('correctYearMonth', () => { test('Should return dates array when input array contains months data', () => { - expect(correctYearMonth([10, 11, 1])).toStrictEqual(['10 01, 2025', '11 01, 2025', '1 01, 2026']); + expect(correctYearMonth([10, 11, 1])).toMatchSnapshot(); }); test('Should return error when input array contains invalid months', () => { - expect(correctYearMonth([10, 11, 16])).toStrictEqual(['10 01, 2026', '11 01, 2026', null]); + expect(correctYearMonth([10, 11, 16])).toMatchSnapshot(); }); test('Should return dates array when input array contains months data in MMM format', () => { - expect(correctYearMonth(['January', 'February'])).toStrictEqual(['January 01, 2026', 'February 01, 2026']); + expect(correctYearMonth(['January', 'February'])).toMatchSnapshot(); }); test('Should return dates array when input array contains months data in MM format', () => { - expect(correctYearMonth(['Jan', 'Feb'])).toStrictEqual(['Jan 01, 2026', 'Feb 01, 2026']); + expect(correctYearMonth(['Jan', 'Feb'])).toMatchSnapshot(); }); test('Should return dates array when input array is empty', () => { @@ -1329,168 +1328,6 @@ describe('transformPlotlyJsonToChartTableProps', () => { }); }); -describe('projectPolarToCartesian', () => { - test('Should convert polar coordinates to cartesian', () => { - const polarSchema = { - data: [ - { - type: 'scatterpolar' as const, - r: [1, 2, 3], - theta: [0, 90, 180], - }, - ], - layout: {}, - }; - - const result = projectPolarToCartesian(polarSchema); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const seriesData = result.data[0] as any; // Type assertion for test purposes - expect(seriesData.x).toHaveLength(3); - expect(seriesData.y).toHaveLength(3); - // Normalized values: x = [1/6, 0/6, -3/6], y = [0/6, 2/6, 0/6] - expect(seriesData.x[0]).toBeCloseTo(1 / 6, 4); // ≈ 0.1667 - expect(seriesData.y[0]).toBeCloseTo(0, 4); - expect(seriesData.x[1]).toBeCloseTo(0, 4); - expect(seriesData.y[1]).toBeCloseTo(2 / 6, 4); // ≈ 0.3333 - expect(seriesData.x[2]).toBeCloseTo(-0.5, 4); - expect(seriesData.y[2]).toBeCloseTo(0, 4); - }); - - test('Should handle invalid polar data', () => { - const invalidSchema = { - data: [ - { - type: 'scatterpolar' as const, - r: [1, null, NaN, Infinity], - theta: [0, 90, null, 270], - }, - ], - layout: {}, - }; - - const result = projectPolarToCartesian(invalidSchema); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const seriesData = result.data[0] as any; // Type assertion for test purposes - expect(seriesData.x).toHaveLength(1); // Only valid point - expect(seriesData.y).toHaveLength(1); - }); - - test('Should handle empty polar data', () => { - const emptySchema = { - data: [{ type: 'scatterpolar' as const, r: [], theta: [] }], - layout: {}, - }; - - const result = projectPolarToCartesian(emptySchema); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const seriesData = result.data[0] as any; // Type assertion for test purposes - expect(seriesData.x).toHaveLength(0); - expect(seriesData.y).toHaveLength(0); - }); - - test('Should handle negative radius values', () => { - const negativeSchema = { - data: [ - { - type: 'scatterpolar' as const, - r: [-1, -2, 1], - theta: [0, 90, 180], - }, - ], - layout: {}, - }; - - const result = projectPolarToCartesian(negativeSchema); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const seriesData = result.data[0] as any; // Type assertion for test purposes - expect(seriesData.x).toHaveLength(3); - expect(seriesData.y).toHaveLength(3); - // Correct normalized values: x = [-0.1, -0.2, -0.5], y = [0, 0, 0] - expect(seriesData.x[0]).toBeCloseTo(-0.1, 4); - expect(seriesData.x[1]).toBeCloseTo(-0.2, 4); - expect(seriesData.x[2]).toBeCloseTo(-0.5, 4); - expect(seriesData.y[0]).toBeCloseTo(0, 4); - expect(seriesData.y[1]).toBeCloseTo(0, 4); - expect(seriesData.y[2]).toBeCloseTo(0, 4); - }); - - test('Should handle very large angles', () => { - const largeAngleSchema = { - data: [ - { - type: 'scatterpolar' as const, - r: [1, 1, 1], - theta: [0, 360, 720], // Full rotations - }, - ], - layout: {}, - }; - - const result = projectPolarToCartesian(largeAngleSchema); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const seriesData = result.data[0] as any; // Type assertion for test purposes - expect(seriesData.x).toHaveLength(3); - expect(seriesData.x[0]).toBeCloseTo(seriesData.x[1], 1); // 0° and 360° should be similar - expect(seriesData.x[0]).toBeCloseTo(seriesData.x[2], 1); // 0° and 720° should be similar - }); - - test('Should handle string values in arrays', () => { - const stringSchema = { - data: [ - { - type: 'scatterpolar' as const, - r: ['1', '2', 'invalid'], - theta: ['0', '90', 'bad'], - }, - ], - layout: {}, - }; - - const result = projectPolarToCartesian(stringSchema); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const seriesData = result.data[0] as any; // Type assertion for test purposes - expect(seriesData.x.length).toBeGreaterThanOrEqual(0); // Should handle conversion gracefully - expect(seriesData.y.length).toBeGreaterThanOrEqual(0); - }); - - test('Should handle mismatched array lengths', () => { - const mismatchedSchema = { - data: [ - { - type: 'scatterpolar' as const, - r: [1, 2, 3, 4, 5], - theta: [0, 90], // Shorter array - }, - ], - layout: {}, - }; - - const result = projectPolarToCartesian(mismatchedSchema); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const seriesData = result.data[0] as any; // Type assertion for test purposes - expect(seriesData.x).toHaveLength(2); // Should use minimum length - expect(seriesData.y).toHaveLength(2); - }); - - test('Should handle missing r or theta arrays', () => { - const missingRSchema = { - data: [ - { - type: 'scatterpolar' as const, - theta: [0, 90, 180], - }, - ], - layout: {}, - }; - - const result = projectPolarToCartesian(missingRSchema); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const seriesData = result.data[0] as any; // Type assertion for test purposes - expect(seriesData.x).toHaveLength(0); - expect(seriesData.y).toHaveLength(0); - }); -}); - describe('isNonPlotType', () => { test('Should return true for non-plot chart types', () => { expect(isNonPlotType('donut')).toBe(true); diff --git a/packages/charts/react-charting/src/components/DeclarativeChart/__snapshots__/DeclarativeChartRTL.test.tsx.snap b/packages/charts/react-charting/src/components/DeclarativeChart/__snapshots__/DeclarativeChartRTL.test.tsx.snap index aec6ee5d6578a4..c114c8577d68cf 100644 --- a/packages/charts/react-charting/src/components/DeclarativeChart/__snapshots__/DeclarativeChartRTL.test.tsx.snap +++ b/packages/charts/react-charting/src/components/DeclarativeChart/__snapshots__/DeclarativeChartRTL.test.tsx.snap @@ -24,12 +24,13 @@ exports[`DeclarativeChart Should render areachart in DeclarativeChart 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_6" + id="chart_5" >
@@ -304,7 +305,7 @@ exports[`DeclarativeChart Should render areachart in DeclarativeChart 1`] = ` fill="none" font-family="sans-serif" font-size="10" - id="yAxisGElementchart_6" + id="yAxisGElementchart_5" text-anchor="end" transform="translate(40, 0)" > @@ -1087,7 +1088,7 @@ exports[`DeclarativeChart Should render areachart in DeclarativeChart 1`] = ` &:focus { outline: none; } - data-focuszone-id="FocusZone10" + data-focuszone-id="FocusZone9" data-tabster="{\\"uncontrolled\\": {}}" role="listbox" > @@ -4956,6 +4957,7 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } id="chart_1" @@ -4991,7 +4993,7 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` > @@ -5064,18 +5065,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5090,18 +5090,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5116,18 +5115,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5142,18 +5140,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5168,18 +5165,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5194,18 +5190,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5220,18 +5215,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5246,18 +5240,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5272,18 +5265,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5298,18 +5290,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5324,18 +5315,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5350,18 +5340,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5376,18 +5365,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5402,18 +5390,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5428,18 +5415,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5454,18 +5440,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5480,18 +5465,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5506,18 +5490,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5532,18 +5515,17 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` /> @@ -5582,32 +5564,26 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` > - y_0 @@ -5617,26 +5593,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_1 @@ -5646,26 +5616,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_2 @@ -5675,26 +5639,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_3 @@ -5704,26 +5662,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_4 @@ -5733,26 +5685,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_5 @@ -5762,26 +5708,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_6 @@ -5791,26 +5731,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_7 @@ -5820,26 +5754,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_8 @@ -5849,26 +5777,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_9 @@ -5878,26 +5800,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_10 @@ -5907,26 +5823,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_11 @@ -5936,26 +5846,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_12 @@ -5965,26 +5869,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_13 @@ -5994,26 +5892,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_14 @@ -6023,26 +5915,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_15 @@ -6052,26 +5938,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_16 @@ -6081,26 +5961,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_17 @@ -6110,26 +5984,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_18 @@ -6139,26 +6007,20 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` - y_19 @@ -6172,11 +6034,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="0" - transform="translate(40.53946053946055, 20.294705294705295)" + transform="translate(40.53946053946055, 17.25274725274725)" > 1.475 @@ -6204,11 +6066,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 20.294705294705295)" + transform="translate(67.51248751248752, 17.25274725274725)" > 76.571 @@ -6236,11 +6098,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 20.294705294705295)" + transform="translate(94.4855144855145, 17.25274725274725)" > 22.444 @@ -6268,11 +6130,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 20.294705294705295)" + transform="translate(121.45854145854146, 17.25274725274725)" > -11.755 @@ -6300,11 +6162,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 20.294705294705295)" + transform="translate(148.43156843156845, 17.25274725274725)" > 31.65 @@ -6332,11 +6194,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 20.294705294705295)" + transform="translate(175.4045954045954, 17.25274725274725)" > -6.747 @@ -6364,11 +6226,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 20.294705294705295)" + transform="translate(202.37762237762237, 17.25274725274725)" > 10.677 @@ -6396,11 +6258,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 20.294705294705295)" + transform="translate(229.35064935064935, 17.25274725274725)" > 18.29 @@ -6428,11 +6290,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 20.294705294705295)" + transform="translate(256.3236763236763, 17.25274725274725)" > 44.042 @@ -6460,11 +6322,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 20.294705294705295)" + transform="translate(283.2967032967033, 17.25274725274725)" > -0.967 @@ -6492,11 +6354,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 20.294705294705295)" + transform="translate(310.26973026973025, 17.25274725274725)" > -10.03 @@ -6524,11 +6386,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 20.294705294705295)" + transform="translate(337.24275724275725, 17.25274725274725)" > 26.331 @@ -6556,11 +6418,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 20.294705294705295)" + transform="translate(364.2157842157842, 17.25274725274725)" > 23.745 @@ -6588,11 +6450,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 20.294705294705295)" + transform="translate(391.1888111888112, 17.25274725274725)" > 21.584 @@ -6620,11 +6482,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 20.294705294705295)" + transform="translate(418.16183816183815, 17.25274725274725)" > -5.055 @@ -6652,11 +6514,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 20.294705294705295)" + transform="translate(445.13486513486515, 17.25274725274725)" > -12.304 @@ -6684,11 +6546,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 20.294705294705295)" + transform="translate(472.1078921078921, 17.25274725274725)" > 22.028 @@ -6716,11 +6578,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 20.294705294705295)" + transform="translate(499.08091908091905, 17.25274725274725)" > 68.761 @@ -6748,11 +6610,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 20.294705294705295)" + transform="translate(526.053946053946, 17.25274725274725)" > -11.105 @@ -6780,11 +6642,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 20.294705294705295)" + transform="translate(553.0269730269731, 17.25274725274725)" > 32.939 @@ -6812,11 +6674,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 35.02997002997003)" + transform="translate(40.53946053946055, 14.505494505494504)" > 2.009 @@ -6844,11 +6706,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 35.02997002997003)" + transform="translate(67.51248751248752, 14.505494505494504)" > 68.771 @@ -6876,11 +6738,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 35.02997002997003)" + transform="translate(94.4855144855145, 14.505494505494504)" > 27.561 @@ -6908,11 +6770,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 35.02997002997003)" + transform="translate(121.45854145854146, 14.505494505494504)" > -11.973 @@ -6940,11 +6802,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 35.02997002997003)" + transform="translate(148.43156843156845, 14.505494505494504)" > 27.652 @@ -6972,11 +6834,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 35.02997002997003)" + transform="translate(175.4045954045954, 14.505494505494504)" > -8.995 @@ -7004,11 +6866,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 35.02997002997003)" + transform="translate(202.37762237762237, 14.505494505494504)" > 16.012 @@ -7036,11 +6898,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 35.02997002997003)" + transform="translate(229.35064935064935, 14.505494505494504)" > 27.497 @@ -7068,11 +6930,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 35.02997002997003)" + transform="translate(256.3236763236763, 14.505494505494504)" > 42.223 @@ -7100,11 +6962,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 35.02997002997003)" + transform="translate(283.2967032967033, 14.505494505494504)" > 9.143 @@ -7132,11 +6994,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 35.02997002997003)" + transform="translate(310.26973026973025, 14.505494505494504)" > -9.497 @@ -7164,11 +7026,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 35.02997002997003)" + transform="translate(337.24275724275725, 14.505494505494504)" > 25.872 @@ -7196,11 +7058,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 35.02997002997003)" + transform="translate(364.2157842157842, 14.505494505494504)" > 29.591 @@ -7228,11 +7090,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 35.02997002997003)" + transform="translate(391.1888111888112, 14.505494505494504)" > 17.887 @@ -7260,11 +7122,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 35.02997002997003)" + transform="translate(418.16183816183815, 14.505494505494504)" > -5.273 @@ -7292,11 +7154,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 35.02997002997003)" + transform="translate(445.13486513486515, 14.505494505494504)" > -12.232 @@ -7324,11 +7186,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 35.02997002997003)" + transform="translate(472.1078921078921, 14.505494505494504)" > 25.219 @@ -7356,11 +7218,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 35.02997002997003)" + transform="translate(499.08091908091905, 14.505494505494504)" > 55.45 @@ -7388,11 +7250,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 35.02997002997003)" + transform="translate(526.053946053946, 14.505494505494504)" > -16.161 @@ -7420,11 +7282,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 35.02997002997003)" + transform="translate(553.0269730269731, 14.505494505494504)" > 32.269 @@ -7452,11 +7314,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 49.765234765234766)" + transform="translate(40.53946053946055, 11.758241758241752)" > 8.835 @@ -7484,11 +7346,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 49.765234765234766)" + transform="translate(67.51248751248752, 11.758241758241752)" > 58.634 @@ -7516,11 +7378,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 49.765234765234766)" + transform="translate(94.4855144855145, 11.758241758241752)" > 32.726 @@ -7548,11 +7410,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 49.765234765234766)" + transform="translate(121.45854145854146, 11.758241758241752)" > -13.466 @@ -7580,11 +7442,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 49.765234765234766)" + transform="translate(148.43156843156845, 11.758241758241752)" > 31.313 @@ -7612,11 +7474,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 49.765234765234766)" + transform="translate(175.4045954045954, 11.758241758241752)" > -1.937 @@ -7644,11 +7506,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 49.765234765234766)" + transform="translate(202.37762237762237, 11.758241758241752)" > 14.893 @@ -7676,11 +7538,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 49.765234765234766)" + transform="translate(229.35064935064935, 11.758241758241752)" > 23.63 @@ -7708,11 +7570,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 49.765234765234766)" + transform="translate(256.3236763236763, 11.758241758241752)" > 41.773 @@ -7740,11 +7602,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 49.765234765234766)" + transform="translate(283.2967032967033, 11.758241758241752)" > 9.082 @@ -7772,11 +7634,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 49.765234765234766)" + transform="translate(310.26973026973025, 11.758241758241752)" > -6.035 @@ -7804,11 +7666,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 49.765234765234766)" + transform="translate(337.24275724275725, 11.758241758241752)" > 26.401 @@ -7836,11 +7698,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 49.765234765234766)" + transform="translate(364.2157842157842, 11.758241758241752)" > 30.052 @@ -7868,11 +7730,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 49.765234765234766)" + transform="translate(391.1888111888112, 11.758241758241752)" > 23.834 @@ -7900,11 +7762,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 49.765234765234766)" + transform="translate(418.16183816183815, 11.758241758241752)" > -3.561 @@ -7932,11 +7794,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 49.765234765234766)" + transform="translate(445.13486513486515, 11.758241758241752)" > -10.717 @@ -7964,11 +7826,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 49.765234765234766)" + transform="translate(472.1078921078921, 11.758241758241752)" > 25.987 @@ -7996,11 +7858,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 49.765234765234766)" + transform="translate(499.08091908091905, 11.758241758241752)" > 55.138 @@ -8028,11 +7890,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 49.765234765234766)" + transform="translate(526.053946053946, 11.758241758241752)" > -12.222 @@ -8060,11 +7922,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 49.765234765234766)" + transform="translate(553.0269730269731, 11.758241758241752)" > 30.769 @@ -8092,11 +7954,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 64.5004995004995)" + transform="translate(40.53946053946055, 9.010989010989007)" > 9.529 @@ -8124,11 +7986,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 64.5004995004995)" + transform="translate(67.51248751248752, 9.010989010989007)" > 66.159 @@ -8156,11 +8018,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 64.5004995004995)" + transform="translate(94.4855144855145, 9.010989010989007)" > 25.727 @@ -8188,11 +8050,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 64.5004995004995)" + transform="translate(121.45854145854146, 9.010989010989007)" > -16.01 @@ -8220,11 +8082,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 64.5004995004995)" + transform="translate(148.43156843156845, 9.010989010989007)" > 24.778 @@ -8252,11 +8114,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 64.5004995004995)" + transform="translate(175.4045954045954, 9.010989010989007)" > -1.283 @@ -8284,11 +8146,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 64.5004995004995)" + transform="translate(202.37762237762237, 9.010989010989007)" > 19.064 @@ -8316,11 +8178,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 64.5004995004995)" + transform="translate(229.35064935064935, 9.010989010989007)" > 14.51 @@ -8348,11 +8210,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 64.5004995004995)" + transform="translate(256.3236763236763, 9.010989010989007)" > 43.571 @@ -8380,11 +8242,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 64.5004995004995)" + transform="translate(283.2967032967033, 9.010989010989007)" > 7.891 @@ -8412,11 +8274,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 64.5004995004995)" + transform="translate(310.26973026973025, 9.010989010989007)" > 1.673 @@ -8444,11 +8306,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 64.5004995004995)" + transform="translate(337.24275724275725, 9.010989010989007)" > 11.217 @@ -8476,11 +8338,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 64.5004995004995)" + transform="translate(364.2157842157842, 9.010989010989007)" > 25.858 @@ -8508,11 +8370,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 64.5004995004995)" + transform="translate(391.1888111888112, 9.010989010989007)" > 18.233 @@ -8540,11 +8402,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 64.5004995004995)" + transform="translate(418.16183816183815, 9.010989010989007)" > -1.542 @@ -8572,11 +8434,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 64.5004995004995)" + transform="translate(445.13486513486515, 9.010989010989007)" > -9.409 @@ -8604,11 +8466,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 64.5004995004995)" + transform="translate(472.1078921078921, 9.010989010989007)" > 24.781 @@ -8636,11 +8498,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 64.5004995004995)" + transform="translate(499.08091908091905, 9.010989010989007)" > 55.729 @@ -8668,11 +8530,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 64.5004995004995)" + transform="translate(526.053946053946, 9.010989010989007)" > -6.132 @@ -8700,11 +8562,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 64.5004995004995)" + transform="translate(553.0269730269731, 9.010989010989007)" > 32.124 @@ -8732,11 +8594,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 79.23576423576424)" + transform="translate(40.53946053946055, 6.263736263736263)" > 18.359 @@ -8764,11 +8626,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 79.23576423576424)" + transform="translate(67.51248751248752, 6.263736263736263)" > 66.768 @@ -8796,11 +8658,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 79.23576423576424)" + transform="translate(94.4855144855145, 6.263736263736263)" > 23.379 @@ -8828,11 +8690,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 79.23576423576424)" + transform="translate(121.45854145854146, 6.263736263736263)" > -9.222 @@ -8860,11 +8722,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 79.23576423576424)" + transform="translate(148.43156843156845, 6.263736263736263)" > 28.232 @@ -8892,11 +8754,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 79.23576423576424)" + transform="translate(175.4045954045954, 6.263736263736263)" > -0.362 @@ -8924,11 +8786,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 79.23576423576424)" + transform="translate(202.37762237762237, 6.263736263736263)" > 28.916 @@ -8956,11 +8818,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 79.23576423576424)" + transform="translate(229.35064935064935, 6.263736263736263)" > 11.189 @@ -8988,11 +8850,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 79.23576423576424)" + transform="translate(256.3236763236763, 6.263736263736263)" > 43.301 @@ -9020,11 +8882,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 79.23576423576424)" + transform="translate(283.2967032967033, 6.263736263736263)" > 5.001 @@ -9052,11 +8914,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 79.23576423576424)" + transform="translate(310.26973026973025, 6.263736263736263)" > 1.956 @@ -9084,11 +8946,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 79.23576423576424)" + transform="translate(337.24275724275725, 6.263736263736263)" > 17.28 @@ -9116,11 +8978,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 79.23576423576424)" + transform="translate(364.2157842157842, 6.263736263736263)" > 26.179 @@ -9148,11 +9010,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 79.23576423576424)" + transform="translate(391.1888111888112, 6.263736263736263)" > 21.572 @@ -9180,11 +9042,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 79.23576423576424)" + transform="translate(418.16183816183815, 6.263736263736263)" > -1.316 @@ -9212,11 +9074,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 79.23576423576424)" + transform="translate(445.13486513486515, 6.263736263736263)" > -9.439 @@ -9244,11 +9106,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 79.23576423576424)" + transform="translate(472.1078921078921, 6.263736263736263)" > 18.313 @@ -9276,11 +9138,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 79.23576423576424)" + transform="translate(499.08091908091905, 6.263736263736263)" > 54.773 @@ -9308,11 +9170,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 79.23576423576424)" + transform="translate(526.053946053946, 6.263736263736263)" > -13.619 @@ -9340,11 +9202,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 79.23576423576424)" + transform="translate(553.0269730269731, 6.263736263736263)" > 34.046 @@ -9372,11 +9234,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 93.97102897102897)" + transform="translate(40.53946053946055, 3.516483516483511)" > 17.878 @@ -9404,11 +9266,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 93.97102897102897)" + transform="translate(67.51248751248752, 3.516483516483511)" > 65.616 @@ -9436,11 +9298,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 93.97102897102897)" + transform="translate(94.4855144855145, 3.516483516483511)" > 21.107 @@ -9468,11 +9330,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 93.97102897102897)" + transform="translate(121.45854145854146, 3.516483516483511)" > -9.253 @@ -9500,11 +9362,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 93.97102897102897)" + transform="translate(148.43156843156845, 3.516483516483511)" > 27.88 @@ -9532,11 +9394,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 93.97102897102897)" + transform="translate(175.4045954045954, 3.516483516483511)" > -2.832 @@ -9564,11 +9426,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 93.97102897102897)" + transform="translate(202.37762237762237, 3.516483516483511)" > 26.138 @@ -9596,11 +9458,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 93.97102897102897)" + transform="translate(229.35064935064935, 3.516483516483511)" > 24.926 @@ -9628,11 +9490,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 93.97102897102897)" + transform="translate(256.3236763236763, 3.516483516483511)" > 41.228 @@ -9660,11 +9522,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 93.97102897102897)" + transform="translate(283.2967032967033, 3.516483516483511)" > 4.292 @@ -9692,11 +9554,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 93.97102897102897)" + transform="translate(310.26973026973025, 3.516483516483511)" > 4.714 @@ -9724,11 +9586,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 93.97102897102897)" + transform="translate(337.24275724275725, 3.516483516483511)" > 16.715 @@ -9756,11 +9618,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 93.97102897102897)" + transform="translate(364.2157842157842, 3.516483516483511)" > 27.49 @@ -9788,11 +9650,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 93.97102897102897)" + transform="translate(391.1888111888112, 3.516483516483511)" > 14.998 @@ -9820,11 +9682,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 93.97102897102897)" + transform="translate(418.16183816183815, 3.516483516483511)" > -1.042 @@ -9852,11 +9714,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 93.97102897102897)" + transform="translate(445.13486513486515, 3.516483516483511)" > -0.151 @@ -9884,11 +9746,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 93.97102897102897)" + transform="translate(472.1078921078921, 3.516483516483511)" > 11.563 @@ -9916,11 +9778,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 93.97102897102897)" + transform="translate(499.08091908091905, 3.516483516483511)" > 54.382 @@ -9948,11 +9810,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 93.97102897102897)" + transform="translate(526.053946053946, 3.516483516483511)" > -15.369 @@ -9980,11 +9842,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 93.97102897102897)" + transform="translate(553.0269730269731, 3.516483516483511)" > 25.019 @@ -10012,11 +9874,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 108.7062937062937)" + transform="translate(40.53946053946055, 0.7692307692307665)" > 9.197 @@ -10044,11 +9906,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 108.7062937062937)" + transform="translate(67.51248751248752, 0.7692307692307665)" > 55.986 @@ -10076,11 +9938,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 108.7062937062937)" + transform="translate(94.4855144855145, 0.7692307692307665)" > 19.688 @@ -10108,11 +9970,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 108.7062937062937)" + transform="translate(121.45854145854146, 0.7692307692307665)" > -1.176 @@ -10140,11 +10002,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 108.7062937062937)" + transform="translate(148.43156843156845, 0.7692307692307665)" > 26.788 @@ -10172,11 +10034,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 108.7062937062937)" + transform="translate(175.4045954045954, 0.7692307692307665)" > -5.207 @@ -10204,11 +10066,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 108.7062937062937)" + transform="translate(202.37762237762237, 0.7692307692307665)" > 29.755 @@ -10236,11 +10098,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 108.7062937062937)" + transform="translate(229.35064935064935, 0.7692307692307665)" > 35.459 @@ -10268,11 +10130,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 108.7062937062937)" + transform="translate(256.3236763236763, 0.7692307692307665)" > 48.543 @@ -10300,11 +10162,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 108.7062937062937)" + transform="translate(283.2967032967033, 0.7692307692307665)" > 3.275 @@ -10332,11 +10194,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 108.7062937062937)" + transform="translate(310.26973026973025, 0.7692307692307665)" > 7.64 @@ -10364,11 +10226,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 108.7062937062937)" + transform="translate(337.24275724275725, 0.7692307692307665)" > 6.615 @@ -10396,11 +10258,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 108.7062937062937)" + transform="translate(364.2157842157842, 0.7692307692307665)" > 27.521 @@ -10428,11 +10290,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 108.7062937062937)" + transform="translate(391.1888111888112, 0.7692307692307665)" > 17.139 @@ -10460,11 +10322,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 108.7062937062937)" + transform="translate(418.16183816183815, 0.7692307692307665)" > -0.713 @@ -10492,11 +10354,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 108.7062937062937)" + transform="translate(445.13486513486515, 0.7692307692307665)" > 3.492 @@ -10524,11 +10386,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 108.7062937062937)" + transform="translate(472.1078921078921, 0.7692307692307665)" > 10.663 @@ -10556,11 +10418,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 108.7062937062937)" + transform="translate(499.08091908091905, 0.7692307692307665)" > 62.797 @@ -10588,11 +10450,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 108.7062937062937)" + transform="translate(526.053946053946, 0.7692307692307665)" > -7.102 @@ -10620,11 +10482,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 108.7062937062937)" + transform="translate(553.0269730269731, 0.7692307692307665)" > 25.969 @@ -10652,11 +10514,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 123.44155844155844)" + transform="translate(40.53946053946055, -1.9780219780219852)" > 3.674 @@ -10684,11 +10546,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 123.44155844155844)" + transform="translate(67.51248751248752, -1.9780219780219852)" > 55.665 @@ -10716,11 +10578,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 123.44155844155844)" + transform="translate(94.4855144855145, -1.9780219780219852)" > 22.222 @@ -10748,11 +10610,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 123.44155844155844)" + transform="translate(121.45854145854146, -1.9780219780219852)" > -2.187 @@ -10780,11 +10642,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 123.44155844155844)" + transform="translate(148.43156843156845, -1.9780219780219852)" > 28.014 @@ -10812,11 +10674,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 123.44155844155844)" + transform="translate(175.4045954045954, -1.9780219780219852)" > -1.934 @@ -10844,11 +10706,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 123.44155844155844)" + transform="translate(202.37762237762237, -1.9780219780219852)" > 29.164 @@ -10876,11 +10738,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 123.44155844155844)" + transform="translate(229.35064935064935, -1.9780219780219852)" > 44.051 @@ -10908,11 +10770,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 123.44155844155844)" + transform="translate(256.3236763236763, -1.9780219780219852)" > 47.139 @@ -10940,11 +10802,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 123.44155844155844)" + transform="translate(283.2967032967033, -1.9780219780219852)" > -2.533 @@ -10972,11 +10834,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 123.44155844155844)" + transform="translate(310.26973026973025, -1.9780219780219852)" > 2.46 @@ -11004,11 +10866,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 123.44155844155844)" + transform="translate(337.24275724275725, -1.9780219780219852)" > 19.673 @@ -11036,11 +10898,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 123.44155844155844)" + transform="translate(364.2157842157842, -1.9780219780219852)" > 23.436 @@ -11068,11 +10930,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 123.44155844155844)" + transform="translate(391.1888111888112, -1.9780219780219852)" > 18.465 @@ -11100,11 +10962,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 123.44155844155844)" + transform="translate(418.16183816183815, -1.9780219780219852)" > 3.251 @@ -11132,11 +10994,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 123.44155844155844)" + transform="translate(445.13486513486515, -1.9780219780219852)" > 7.464 @@ -11164,11 +11026,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 123.44155844155844)" + transform="translate(472.1078921078921, -1.9780219780219852)" > 5.836 @@ -11196,11 +11058,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 123.44155844155844)" + transform="translate(499.08091908091905, -1.9780219780219852)" > 63.637 @@ -11228,11 +11090,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 123.44155844155844)" + transform="translate(526.053946053946, -1.9780219780219852)" > -2.318 @@ -11260,11 +11122,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 123.44155844155844)" + transform="translate(553.0269730269731, -1.9780219780219852)" > 28.362 @@ -11292,11 +11154,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 138.17682317682318)" + transform="translate(40.53946053946055, -4.72527472527473)" > -1.25 @@ -11324,11 +11186,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 138.17682317682318)" + transform="translate(67.51248751248752, -4.72527472527473)" > 52.075 @@ -11356,11 +11218,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 138.17682317682318)" + transform="translate(94.4855144855145, -4.72527472527473)" > 16.574 @@ -11388,11 +11250,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 138.17682317682318)" + transform="translate(121.45854145854146, -4.72527472527473)" > 0.625 @@ -11420,11 +11282,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 138.17682317682318)" + transform="translate(148.43156843156845, -4.72527472527473)" > 25.671 @@ -11452,11 +11314,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 138.17682317682318)" + transform="translate(175.4045954045954, -4.72527472527473)" > 2.883 @@ -11484,11 +11346,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 138.17682317682318)" + transform="translate(202.37762237762237, -4.72527472527473)" > 21.055 @@ -11516,11 +11378,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 138.17682317682318)" + transform="translate(229.35064935064935, -4.72527472527473)" > 45.55 @@ -11548,11 +11410,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 138.17682317682318)" + transform="translate(256.3236763236763, -4.72527472527473)" > 54.79 @@ -11580,11 +11442,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 138.17682317682318)" + transform="translate(283.2967032967033, -4.72527472527473)" > -1.132 @@ -11612,11 +11474,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 138.17682317682318)" + transform="translate(310.26973026973025, -4.72527472527473)" > -6.837 @@ -11644,11 +11506,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 138.17682317682318)" + transform="translate(337.24275724275725, -4.72527472527473)" > 15.503 @@ -11676,11 +11538,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 138.17682317682318)" + transform="translate(364.2157842157842, -4.72527472527473)" > 16.435 @@ -11708,11 +11570,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 138.17682317682318)" + transform="translate(391.1888111888112, -4.72527472527473)" > 20.053 @@ -11740,11 +11602,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 138.17682317682318)" + transform="translate(418.16183816183815, -4.72527472527473)" > 2.31 @@ -11772,11 +11634,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 138.17682317682318)" + transform="translate(445.13486513486515, -4.72527472527473)" > 6.64 @@ -11804,11 +11666,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 138.17682317682318)" + transform="translate(472.1078921078921, -4.72527472527473)" > 3.455 @@ -11836,11 +11698,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 138.17682317682318)" + transform="translate(499.08091908091905, -4.72527472527473)" > 54.703 @@ -11868,11 +11730,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 138.17682317682318)" + transform="translate(526.053946053946, -4.72527472527473)" > -3.275 @@ -11900,11 +11762,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 138.17682317682318)" + transform="translate(553.0269730269731, -4.72527472527473)" > 34.698 @@ -11932,11 +11794,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 152.9120879120879)" + transform="translate(40.53946053946055, -7.472527472527474)" > -0.342 @@ -11964,11 +11826,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 152.9120879120879)" + transform="translate(67.51248751248752, -7.472527472527474)" > 52.258 @@ -11996,11 +11858,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 152.9120879120879)" + transform="translate(94.4855144855145, -7.472527472527474)" > 14.63 @@ -12028,11 +11890,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 152.9120879120879)" + transform="translate(121.45854145854146, -7.472527472527474)" > -1.148 @@ -12060,11 +11922,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 152.9120879120879)" + transform="translate(148.43156843156845, -7.472527472527474)" > 19.815 @@ -12092,11 +11954,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 152.9120879120879)" + transform="translate(175.4045954045954, -7.472527472527474)" > -0.36 @@ -12124,11 +11986,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 152.9120879120879)" + transform="translate(202.37762237762237, -7.472527472527474)" > 22.773 @@ -12156,11 +12018,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 152.9120879120879)" + transform="translate(229.35064935064935, -7.472527472527474)" > 45.168 @@ -12188,11 +12050,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 152.9120879120879)" + transform="translate(256.3236763236763, -7.472527472527474)" > 50.906 @@ -12220,11 +12082,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 152.9120879120879)" + transform="translate(283.2967032967033, -7.472527472527474)" > -4.123 @@ -12252,11 +12114,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 152.9120879120879)" + transform="translate(310.26973026973025, -7.472527472527474)" > -10.089 @@ -12284,11 +12146,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 152.9120879120879)" + transform="translate(337.24275724275725, -7.472527472527474)" > 17.771 @@ -12316,11 +12178,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 152.9120879120879)" + transform="translate(364.2157842157842, -7.472527472527474)" > 17.405 @@ -12348,11 +12210,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 152.9120879120879)" + transform="translate(391.1888111888112, -7.472527472527474)" > 19.428 @@ -12380,11 +12242,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 152.9120879120879)" + transform="translate(418.16183816183815, -7.472527472527474)" > 10.155 @@ -12412,11 +12274,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 152.9120879120879)" + transform="translate(445.13486513486515, -7.472527472527474)" > 9.416 @@ -12444,11 +12306,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 152.9120879120879)" + transform="translate(472.1078921078921, -7.472527472527474)" > 1.911 @@ -12476,11 +12338,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 152.9120879120879)" + transform="translate(499.08091908091905, -7.472527472527474)" > 55.503 @@ -12508,11 +12370,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 152.9120879120879)" + transform="translate(526.053946053946, -7.472527472527474)" > -1.087 @@ -12540,11 +12402,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 152.9120879120879)" + transform="translate(553.0269730269731, -7.472527472527474)" > 29.943 @@ -12572,11 +12434,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 167.64735264735265)" + transform="translate(40.53946053946055, -10.219780219780223)" > 1.332 @@ -12604,11 +12466,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 167.64735264735265)" + transform="translate(67.51248751248752, -10.219780219780223)" > 45.903 @@ -12636,11 +12498,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 167.64735264735265)" + transform="translate(94.4855144855145, -10.219780219780223)" > 9.162 @@ -12668,11 +12530,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 167.64735264735265)" + transform="translate(121.45854145854146, -10.219780219780223)" > -1.294 @@ -12700,11 +12562,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 167.64735264735265)" + transform="translate(148.43156843156845, -10.219780219780223)" > 21.982 @@ -12732,11 +12594,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 167.64735264735265)" + transform="translate(175.4045954045954, -10.219780219780223)" > -2.005 @@ -12764,11 +12626,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 167.64735264735265)" + transform="translate(202.37762237762237, -10.219780219780223)" > 23.758 @@ -12796,11 +12658,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 167.64735264735265)" + transform="translate(229.35064935064935, -10.219780219780223)" > 42.681 @@ -12828,11 +12690,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 167.64735264735265)" + transform="translate(256.3236763236763, -10.219780219780223)" > 44.652 @@ -12860,11 +12722,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 167.64735264735265)" + transform="translate(283.2967032967033, -10.219780219780223)" > -3.233 @@ -12892,11 +12754,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 167.64735264735265)" + transform="translate(310.26973026973025, -10.219780219780223)" > -11.701 @@ -12924,11 +12786,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 167.64735264735265)" + transform="translate(337.24275724275725, -10.219780219780223)" > 8.769 @@ -12956,11 +12818,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 167.64735264735265)" + transform="translate(364.2157842157842, -10.219780219780223)" > 21.48 @@ -12988,11 +12850,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 167.64735264735265)" + transform="translate(391.1888111888112, -10.219780219780223)" > 11.751 @@ -13020,11 +12882,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 167.64735264735265)" + transform="translate(418.16183816183815, -10.219780219780223)" > 10.314 @@ -13052,11 +12914,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 167.64735264735265)" + transform="translate(445.13486513486515, -10.219780219780223)" > 6.045 @@ -13084,11 +12946,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 167.64735264735265)" + transform="translate(472.1078921078921, -10.219780219780223)" > 0.396 @@ -13116,11 +12978,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 167.64735264735265)" + transform="translate(499.08091908091905, -10.219780219780223)" > 56.8 @@ -13148,11 +13010,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 167.64735264735265)" + transform="translate(526.053946053946, -10.219780219780223)" > 9.687 @@ -13180,11 +13042,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 167.64735264735265)" + transform="translate(553.0269730269731, -10.219780219780223)" > 29.574 @@ -13212,11 +13074,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 182.38261738261738)" + transform="translate(40.53946053946055, -12.96703296703297)" > 0.029 @@ -13244,11 +13106,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 182.38261738261738)" + transform="translate(67.51248751248752, -12.96703296703297)" > 47.894 @@ -13276,11 +13138,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 182.38261738261738)" + transform="translate(94.4855144855145, -12.96703296703297)" > 13.438 @@ -13308,11 +13170,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 182.38261738261738)" + transform="translate(121.45854145854146, -12.96703296703297)" > 17.917 @@ -13340,11 +13202,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 182.38261738261738)" + transform="translate(148.43156843156845, -12.96703296703297)" > 17.039 @@ -13372,11 +13234,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 182.38261738261738)" + transform="translate(175.4045954045954, -12.96703296703297)" > -4.775 @@ -13404,11 +13266,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 182.38261738261738)" + transform="translate(202.37762237762237, -12.96703296703297)" > 12.169 @@ -13436,11 +13298,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 182.38261738261738)" + transform="translate(229.35064935064935, -12.96703296703297)" > 40.423 @@ -13468,11 +13330,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 182.38261738261738)" + transform="translate(256.3236763236763, -12.96703296703297)" > 37.225 @@ -13500,11 +13362,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 182.38261738261738)" + transform="translate(283.2967032967033, -12.96703296703297)" > 0.221 @@ -13532,11 +13394,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 182.38261738261738)" + transform="translate(310.26973026973025, -12.96703296703297)" > -9.687 @@ -13564,11 +13426,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 182.38261738261738)" + transform="translate(337.24275724275725, -12.96703296703297)" > 10.609 @@ -13596,11 +13458,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 182.38261738261738)" + transform="translate(364.2157842157842, -12.96703296703297)" > 22.489 @@ -13628,11 +13490,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 182.38261738261738)" + transform="translate(391.1888111888112, -12.96703296703297)" > 10.669 @@ -13660,11 +13522,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 182.38261738261738)" + transform="translate(418.16183816183815, -12.96703296703297)" > 13.957 @@ -13692,11 +13554,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 182.38261738261738)" + transform="translate(445.13486513486515, -12.96703296703297)" > 6.84 @@ -13724,11 +13586,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 182.38261738261738)" + transform="translate(472.1078921078921, -12.96703296703297)" > 2.067 @@ -13756,11 +13618,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 182.38261738261738)" + transform="translate(499.08091908091905, -12.96703296703297)" > 54.582 @@ -13788,11 +13650,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 182.38261738261738)" + transform="translate(526.053946053946, -12.96703296703297)" > 3.532 @@ -13820,11 +13682,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 182.38261738261738)" + transform="translate(553.0269730269731, -12.96703296703297)" > 24.533 @@ -13852,11 +13714,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 197.11788211788212)" + transform="translate(40.53946053946055, -15.714285714285719)" > -7.513 @@ -13884,11 +13746,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 197.11788211788212)" + transform="translate(67.51248751248752, -15.714285714285719)" > 44.212 @@ -13916,11 +13778,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 197.11788211788212)" + transform="translate(94.4855144855145, -15.714285714285719)" > 14.48 @@ -13948,11 +13810,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 197.11788211788212)" + transform="translate(121.45854145854146, -15.714285714285719)" > 17.66 @@ -13980,11 +13842,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 197.11788211788212)" + transform="translate(148.43156843156845, -15.714285714285719)" > 14.436 @@ -14012,11 +13874,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 197.11788211788212)" + transform="translate(175.4045954045954, -15.714285714285719)" > -8.631 @@ -14044,11 +13906,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 197.11788211788212)" + transform="translate(202.37762237762237, -15.714285714285719)" > 18.921 @@ -14076,11 +13938,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 197.11788211788212)" + transform="translate(229.35064935064935, -15.714285714285719)" > 41.962 @@ -14108,11 +13970,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 197.11788211788212)" + transform="translate(256.3236763236763, -15.714285714285719)" > 30.993 @@ -14140,11 +14002,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 197.11788211788212)" + transform="translate(283.2967032967033, -15.714285714285719)" > 0.382 @@ -14172,11 +14034,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 197.11788211788212)" + transform="translate(310.26973026973025, -15.714285714285719)" > -9.481 @@ -14204,11 +14066,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 197.11788211788212)" + transform="translate(337.24275724275725, -15.714285714285719)" > 1.627 @@ -14236,11 +14098,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 197.11788211788212)" + transform="translate(364.2157842157842, -15.714285714285719)" > 20.522 @@ -14268,11 +14130,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 197.11788211788212)" + transform="translate(391.1888111888112, -15.714285714285719)" > 9.822 @@ -14300,11 +14162,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 197.11788211788212)" + transform="translate(418.16183816183815, -15.714285714285719)" > 15.658 @@ -14332,11 +14194,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 197.11788211788212)" + transform="translate(445.13486513486515, -15.714285714285719)" > 12.855 @@ -14364,11 +14226,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 197.11788211788212)" + transform="translate(472.1078921078921, -15.714285714285719)" > 10.724 @@ -14396,11 +14258,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 197.11788211788212)" + transform="translate(499.08091908091905, -15.714285714285719)" > 41.765 @@ -14428,11 +14290,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 197.11788211788212)" + transform="translate(526.053946053946, -15.714285714285719)" > 2.234 @@ -14460,11 +14322,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 197.11788211788212)" + transform="translate(553.0269730269731, -15.714285714285719)" > 16.089 @@ -14492,11 +14354,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 211.85314685314685)" + transform="translate(40.53946053946055, -18.461538461538467)" > -6.878 @@ -14524,11 +14386,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 211.85314685314685)" + transform="translate(67.51248751248752, -18.461538461538467)" > 44.044 @@ -14556,11 +14418,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 211.85314685314685)" + transform="translate(94.4855144855145, -18.461538461538467)" > 13.548 @@ -14588,11 +14450,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 211.85314685314685)" + transform="translate(121.45854145854146, -18.461538461538467)" > 17.74 @@ -14620,11 +14482,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 211.85314685314685)" + transform="translate(148.43156843156845, -18.461538461538467)" > 15.791 @@ -14652,11 +14514,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 211.85314685314685)" + transform="translate(175.4045954045954, -18.461538461538467)" > -6.564 @@ -14684,11 +14546,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 211.85314685314685)" + transform="translate(202.37762237762237, -18.461538461538467)" > 21.499 @@ -14716,11 +14578,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 211.85314685314685)" + transform="translate(229.35064935064935, -18.461538461538467)" > 38.247 @@ -14748,11 +14610,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 211.85314685314685)" + transform="translate(256.3236763236763, -18.461538461538467)" > 25.71 @@ -14780,11 +14642,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 211.85314685314685)" + transform="translate(283.2967032967033, -18.461538461538467)" > 2.225 @@ -14812,11 +14674,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 211.85314685314685)" + transform="translate(310.26973026973025, -18.461538461538467)" > -10.094 @@ -14844,11 +14706,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 211.85314685314685)" + transform="translate(337.24275724275725, -18.461538461538467)" > 1.914 @@ -14876,11 +14738,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 211.85314685314685)" + transform="translate(364.2157842157842, -18.461538461538467)" > 28.854 @@ -14908,11 +14770,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 211.85314685314685)" + transform="translate(391.1888111888112, -18.461538461538467)" > 9.12 @@ -14940,11 +14802,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 211.85314685314685)" + transform="translate(418.16183816183815, -18.461538461538467)" > 16.77 @@ -14972,11 +14834,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 211.85314685314685)" + transform="translate(445.13486513486515, -18.461538461538467)" > 7.358 @@ -15004,11 +14866,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 211.85314685314685)" + transform="translate(472.1078921078921, -18.461538461538467)" > 5.875 @@ -15036,11 +14898,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 211.85314685314685)" + transform="translate(499.08091908091905, -18.461538461538467)" > 39.121 @@ -15068,11 +14930,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 211.85314685314685)" + transform="translate(526.053946053946, -18.461538461538467)" > 1.342 @@ -15100,11 +14962,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 211.85314685314685)" + transform="translate(553.0269730269731, -18.461538461538467)" > 16.778 @@ -15132,11 +14994,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 226.5884115884116)" + transform="translate(40.53946053946055, -21.20879120879121)" > 1.385 @@ -15164,11 +15026,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 226.5884115884116)" + transform="translate(67.51248751248752, -21.20879120879121)" > 28.889 @@ -15196,11 +15058,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 226.5884115884116)" + transform="translate(94.4855144855145, -21.20879120879121)" > 12.971 @@ -15228,11 +15090,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 226.5884115884116)" + transform="translate(121.45854145854146, -21.20879120879121)" > 21.143 @@ -15260,11 +15122,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 226.5884115884116)" + transform="translate(148.43156843156845, -21.20879120879121)" > 7.466 @@ -15292,11 +15154,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 226.5884115884116)" + transform="translate(175.4045954045954, -21.20879120879121)" > -2.108 @@ -15324,11 +15186,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 226.5884115884116)" + transform="translate(202.37762237762237, -21.20879120879121)" > 16.027 @@ -15356,11 +15218,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 226.5884115884116)" + transform="translate(229.35064935064935, -21.20879120879121)" > 40.708 @@ -15388,11 +15250,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 226.5884115884116)" + transform="translate(256.3236763236763, -21.20879120879121)" > 25.966 @@ -15420,11 +15282,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 226.5884115884116)" + transform="translate(283.2967032967033, -21.20879120879121)" > 0.904 @@ -15452,11 +15314,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 226.5884115884116)" + transform="translate(310.26973026973025, -21.20879120879121)" > -0.672 @@ -15484,11 +15346,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 226.5884115884116)" + transform="translate(337.24275724275725, -21.20879120879121)" > 2.66 @@ -15516,11 +15378,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 226.5884115884116)" + transform="translate(364.2157842157842, -21.20879120879121)" > 36.094 @@ -15548,11 +15410,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 226.5884115884116)" + transform="translate(391.1888111888112, -21.20879120879121)" > 12.792 @@ -15580,11 +15442,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 226.5884115884116)" + transform="translate(418.16183816183815, -21.20879120879121)" > 16.292 @@ -15612,11 +15474,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 226.5884115884116)" + transform="translate(445.13486513486515, -21.20879120879121)" > 13.792 @@ -15644,11 +15506,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 226.5884115884116)" + transform="translate(472.1078921078921, -21.20879120879121)" > 9.901 @@ -15676,11 +15538,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 226.5884115884116)" + transform="translate(499.08091908091905, -21.20879120879121)" > 36.748 @@ -15708,11 +15570,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 226.5884115884116)" + transform="translate(526.053946053946, -21.20879120879121)" > 26.577 @@ -15740,11 +15602,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 226.5884115884116)" + transform="translate(553.0269730269731, -21.20879120879121)" > 16.005 @@ -15772,11 +15634,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 241.32367632367632)" + transform="translate(40.53946053946055, -23.95604395604396)" > 10.425 @@ -15804,11 +15666,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 241.32367632367632)" + transform="translate(67.51248751248752, -23.95604395604396)" > 28.78 @@ -15836,11 +15698,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 241.32367632367632)" + transform="translate(94.4855144855145, -23.95604395604396)" > 3.274 @@ -15868,11 +15730,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 241.32367632367632)" + transform="translate(121.45854145854146, -23.95604395604396)" > 8.67 @@ -15900,11 +15762,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 241.32367632367632)" + transform="translate(148.43156843156845, -23.95604395604396)" > 17.757 @@ -15932,11 +15794,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 241.32367632367632)" + transform="translate(175.4045954045954, -23.95604395604396)" > -6.897 @@ -15964,11 +15826,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 241.32367632367632)" + transform="translate(202.37762237762237, -23.95604395604396)" > 17.337 @@ -15996,11 +15858,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 241.32367632367632)" + transform="translate(229.35064935064935, -23.95604395604396)" > 42.701 @@ -16028,11 +15890,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 241.32367632367632)" + transform="translate(256.3236763236763, -23.95604395604396)" > 27.376 @@ -16060,11 +15922,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 241.32367632367632)" + transform="translate(283.2967032967033, -23.95604395604396)" > 10.417 @@ -16092,11 +15954,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 241.32367632367632)" + transform="translate(310.26973026973025, -23.95604395604396)" > 5.955 @@ -16124,11 +15986,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 241.32367632367632)" + transform="translate(337.24275724275725, -23.95604395604396)" > 15.043 @@ -16156,11 +16018,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 241.32367632367632)" + transform="translate(364.2157842157842, -23.95604395604396)" > 32.126 @@ -16188,11 +16050,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 241.32367632367632)" + transform="translate(391.1888111888112, -23.95604395604396)" > 11.295 @@ -16220,11 +16082,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 241.32367632367632)" + transform="translate(418.16183816183815, -23.95604395604396)" > 16.313 @@ -16252,11 +16114,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 241.32367632367632)" + transform="translate(445.13486513486515, -23.95604395604396)" > 15.444 @@ -16284,11 +16146,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 241.32367632367632)" + transform="translate(472.1078921078921, -23.95604395604396)" > 10.444 @@ -16316,11 +16178,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 241.32367632367632)" + transform="translate(499.08091908091905, -23.95604395604396)" > 33.076 @@ -16348,11 +16210,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 241.32367632367632)" + transform="translate(526.053946053946, -23.95604395604396)" > 22.678 @@ -16380,11 +16242,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 241.32367632367632)" + transform="translate(553.0269730269731, -23.95604395604396)" > 14.911 @@ -16412,11 +16274,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 256.05894105894106)" + transform="translate(40.53946053946055, -26.703296703296708)" > 12.733 @@ -16444,11 +16306,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 256.05894105894106)" + transform="translate(67.51248751248752, -26.703296703296708)" > 24.159 @@ -16476,11 +16338,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 256.05894105894106)" + transform="translate(94.4855144855145, -26.703296703296708)" > 1.864 @@ -16508,11 +16370,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 256.05894105894106)" + transform="translate(121.45854145854146, -26.703296703296708)" > 9.195 @@ -16540,11 +16402,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 256.05894105894106)" + transform="translate(148.43156843156845, -26.703296703296708)" > 19.789 @@ -16572,11 +16434,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 256.05894105894106)" + transform="translate(175.4045954045954, -26.703296703296708)" > -6.834 @@ -16604,11 +16466,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 256.05894105894106)" + transform="translate(202.37762237762237, -26.703296703296708)" > 9.969 @@ -16636,11 +16498,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 256.05894105894106)" + transform="translate(229.35064935064935, -26.703296703296708)" > 46.341 @@ -16668,11 +16530,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 256.05894105894106)" + transform="translate(256.3236763236763, -26.703296703296708)" > 27.31 @@ -16700,11 +16562,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 256.05894105894106)" + transform="translate(283.2967032967033, -26.703296703296708)" > 15.452 @@ -16732,11 +16594,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 256.05894105894106)" + transform="translate(310.26973026973025, -26.703296703296708)" > 6.691 @@ -16764,11 +16626,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 256.05894105894106)" + transform="translate(337.24275724275725, -26.703296703296708)" > 14.553 @@ -16796,11 +16658,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 256.05894105894106)" + transform="translate(364.2157842157842, -26.703296703296708)" > 31.321 @@ -16828,11 +16690,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 256.05894105894106)" + transform="translate(391.1888111888112, -26.703296703296708)" > 9.311 @@ -16860,11 +16722,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 256.05894105894106)" + transform="translate(418.16183816183815, -26.703296703296708)" > 12.005 @@ -16892,11 +16754,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 256.05894105894106)" + transform="translate(445.13486513486515, -26.703296703296708)" > 13.06 @@ -16924,11 +16786,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 256.05894105894106)" + transform="translate(472.1078921078921, -26.703296703296708)" > 10.255 @@ -16956,11 +16818,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 256.05894105894106)" + transform="translate(499.08091908091905, -26.703296703296708)" > 29.181 @@ -16988,11 +16850,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 256.05894105894106)" + transform="translate(526.053946053946, -26.703296703296708)" > 17.203 @@ -17020,11 +16882,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 256.05894105894106)" + transform="translate(553.0269730269731, -26.703296703296708)" > 15.963 @@ -17052,11 +16914,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 270.7942057942058)" + transform="translate(40.53946053946055, -29.450549450549453)" > 16.105 @@ -17084,11 +16946,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 270.7942057942058)" + transform="translate(67.51248751248752, -29.450549450549453)" > 16.816 @@ -17116,11 +16978,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 270.7942057942058)" + transform="translate(94.4855144855145, -29.450549450549453)" > -1.08 @@ -17148,11 +17010,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 270.7942057942058)" + transform="translate(121.45854145854146, -29.450549450549453)" > 13.038 @@ -17180,11 +17042,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 270.7942057942058)" + transform="translate(148.43156843156845, -29.450549450549453)" > 25.071 @@ -17212,11 +17074,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 270.7942057942058)" + transform="translate(175.4045954045954, -29.450549450549453)" > -6.016 @@ -17244,11 +17106,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 270.7942057942058)" + transform="translate(202.37762237762237, -29.450549450549453)" > 12.249 @@ -17276,11 +17138,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 270.7942057942058)" + transform="translate(229.35064935064935, -29.450549450549453)" > 35.618 @@ -17308,11 +17170,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 270.7942057942058)" + transform="translate(256.3236763236763, -29.450549450549453)" > 20.621 @@ -17340,11 +17202,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 270.7942057942058)" + transform="translate(283.2967032967033, -29.450549450549453)" > 18.322 @@ -17372,11 +17234,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 270.7942057942058)" + transform="translate(310.26973026973025, -29.450549450549453)" > 5.106 @@ -17404,11 +17266,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 270.7942057942058)" + transform="translate(337.24275724275725, -29.450549450549453)" > 20.478 @@ -17436,11 +17298,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 270.7942057942058)" + transform="translate(364.2157842157842, -29.450549450549453)" > 13.078 @@ -17468,11 +17330,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 270.7942057942058)" + transform="translate(391.1888111888112, -29.450549450549453)" > 4.271 @@ -17500,11 +17362,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 270.7942057942058)" + transform="translate(418.16183816183815, -29.450549450549453)" > 10.329 @@ -17532,11 +17394,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 270.7942057942058)" + transform="translate(445.13486513486515, -29.450549450549453)" > 11.953 @@ -17564,11 +17426,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 270.7942057942058)" + transform="translate(472.1078921078921, -29.450549450549453)" > 1.551 @@ -17596,11 +17458,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 270.7942057942058)" + transform="translate(499.08091908091905, -29.450549450549453)" > 28.102 @@ -17628,11 +17490,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 270.7942057942058)" + transform="translate(526.053946053946, -29.450549450549453)" > 11.122 @@ -17660,11 +17522,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 270.7942057942058)" + transform="translate(553.0269730269731, -29.450549450549453)" > 17.272 @@ -17692,11 +17554,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 285.52947052947053)" + transform="translate(40.53946053946055, -32.197802197802204)" > 18.073 @@ -17724,11 +17586,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 285.52947052947053)" + transform="translate(67.51248751248752, -32.197802197802204)" > 6.872 @@ -17756,11 +17618,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 285.52947052947053)" + transform="translate(94.4855144855145, -32.197802197802204)" > 2.633 @@ -17788,11 +17650,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 285.52947052947053)" + transform="translate(121.45854145854146, -32.197802197802204)" > 8.91 @@ -17820,11 +17682,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 285.52947052947053)" + transform="translate(148.43156843156845, -32.197802197802204)" > 23.298 @@ -17852,11 +17714,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 285.52947052947053)" + transform="translate(175.4045954045954, -32.197802197802204)" > 9.184 @@ -17884,11 +17746,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 285.52947052947053)" + transform="translate(202.37762237762237, -32.197802197802204)" > 18.052 @@ -17916,11 +17778,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 285.52947052947053)" + transform="translate(229.35064935064935, -32.197802197802204)" > 32.088 @@ -17948,11 +17810,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 285.52947052947053)" + transform="translate(256.3236763236763, -32.197802197802204)" > 15.863 @@ -17980,11 +17842,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 285.52947052947053)" + transform="translate(283.2967032967033, -32.197802197802204)" > 20.517 @@ -18012,11 +17874,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 285.52947052947053)" + transform="translate(310.26973026973025, -32.197802197802204)" > 1.567 @@ -18044,11 +17906,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 285.52947052947053)" + transform="translate(337.24275724275725, -32.197802197802204)" > 19.031 @@ -18076,11 +17938,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 285.52947052947053)" + transform="translate(364.2157842157842, -32.197802197802204)" > 12.134 @@ -18108,11 +17970,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 285.52947052947053)" + transform="translate(391.1888111888112, -32.197802197802204)" > 8.724 @@ -18140,11 +18002,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 285.52947052947053)" + transform="translate(418.16183816183815, -32.197802197802204)" > 8.972 @@ -18172,11 +18034,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 285.52947052947053)" + transform="translate(445.13486513486515, -32.197802197802204)" > 9.772 @@ -18204,11 +18066,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 285.52947052947053)" + transform="translate(472.1078921078921, -32.197802197802204)" > 4.761 @@ -18236,11 +18098,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 285.52947052947053)" + transform="translate(499.08091908091905, -32.197802197802204)" > 23.827 @@ -18268,11 +18130,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 285.52947052947053)" + transform="translate(526.053946053946, -32.197802197802204)" > 14.369 @@ -18300,11 +18162,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 285.52947052947053)" + transform="translate(553.0269730269731, -32.197802197802204)" > 9.73 @@ -18332,11 +18194,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(40.53946053946055, 300.26473526473524)" + transform="translate(40.53946053946055, -34.94505494505495)" > 12 @@ -18364,11 +18226,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(67.51248751248752, 300.26473526473524)" + transform="translate(67.51248751248752, -34.94505494505495)" > 11.697 @@ -18396,11 +18258,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(94.4855144855145, 300.26473526473524)" + transform="translate(94.4855144855145, -34.94505494505495)" > 7.175 @@ -18428,11 +18290,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(121.45854145854146, 300.26473526473524)" + transform="translate(121.45854145854146, -34.94505494505495)" > 11.444 @@ -18460,11 +18322,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(148.43156843156845, 300.26473526473524)" + transform="translate(148.43156843156845, -34.94505494505495)" > 23.649 @@ -18492,11 +18354,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(175.4045954045954, 300.26473526473524)" + transform="translate(175.4045954045954, -34.94505494505495)" > 10.041 @@ -18524,11 +18386,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(202.37762237762237, 300.26473526473524)" + transform="translate(202.37762237762237, -34.94505494505495)" > 10.82 @@ -18556,11 +18418,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(229.35064935064935, 300.26473526473524)" + transform="translate(229.35064935064935, -34.94505494505495)" > 20.84 @@ -18588,11 +18450,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(256.3236763236763, 300.26473526473524)" + transform="translate(256.3236763236763, -34.94505494505495)" > 14.378 @@ -18620,11 +18482,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(283.2967032967033, 300.26473526473524)" + transform="translate(283.2967032967033, -34.94505494505495)" > 9.546 @@ -18652,11 +18514,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(310.26973026973025, 300.26473526473524)" + transform="translate(310.26973026973025, -34.94505494505495)" > 2.117 @@ -18684,11 +18546,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(337.24275724275725, 300.26473526473524)" + transform="translate(337.24275724275725, -34.94505494505495)" > 24.053 @@ -18716,11 +18578,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(364.2157842157842, 300.26473526473524)" + transform="translate(364.2157842157842, -34.94505494505495)" > 14.742 @@ -18748,11 +18610,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(391.1888111888112, 300.26473526473524)" + transform="translate(391.1888111888112, -34.94505494505495)" > 11.223 @@ -18780,11 +18642,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(418.16183816183815, 300.26473526473524)" + transform="translate(418.16183816183815, -34.94505494505495)" > 2.906 @@ -18812,11 +18674,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(445.13486513486515, 300.26473526473524)" + transform="translate(445.13486513486515, -34.94505494505495)" > 12.524 @@ -18844,11 +18706,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(472.1078921078921, 300.26473526473524)" + transform="translate(472.1078921078921, -34.94505494505495)" > 12.426 @@ -18876,11 +18738,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(499.08091908091905, 300.26473526473524)" + transform="translate(499.08091908091905, -34.94505494505495)" > 15.787 @@ -18908,11 +18770,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(526.053946053946, 300.26473526473524)" + transform="translate(526.053946053946, -34.94505494505495)" > 25.828 @@ -18940,11 +18802,11 @@ exports[`DeclarativeChart Should render heatmapchart in DeclarativeChart 1`] = ` fill-opacity="1" role="img" tabindex="-1" - transform="translate(553.0269730269731, 300.26473526473524)" + transform="translate(553.0269730269731, -34.94505494505495)" > 15.884
+
+
diff --git a/packages/charts/react-charting/src/components/DeclarativeChart/__snapshots__/PlotlySchemaAdapterUT.test.tsx.snap b/packages/charts/react-charting/src/components/DeclarativeChart/__snapshots__/PlotlySchemaAdapterUT.test.tsx.snap index 6ebc4c72958087..7604d2fa43b460 100644 --- a/packages/charts/react-charting/src/components/DeclarativeChart/__snapshots__/PlotlySchemaAdapterUT.test.tsx.snap +++ b/packages/charts/react-charting/src/components/DeclarativeChart/__snapshots__/PlotlySchemaAdapterUT.test.tsx.snap @@ -1,5 +1,35 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing +exports[`correctYearMonth Should return dates array when input array contains months data 1`] = ` +Array [ + "10 01, 2025", + "11 01, 2025", + "1 01, 2026", +] +`; + +exports[`correctYearMonth Should return dates array when input array contains months data in MM format 1`] = ` +Array [ + "Jan 01, 2026", + "Feb 01, 2026", +] +`; + +exports[`correctYearMonth Should return dates array when input array contains months data in MMM format 1`] = ` +Array [ + "January 01, 2026", + "February 01, 2026", +] +`; + +exports[`correctYearMonth Should return error when input array contains invalid months 1`] = ` +Array [ + "10 01, 2026", + "11 01, 2026", + null, +] +`; + exports[`sanitizeJson Should return json object when depth inside the range 1`] = ` Object { "data": Array [ @@ -346,7 +376,6 @@ Object { "supportNegativeData": true, "useUTC": false, "width": undefined, - "wrapXAxisLables": false, "xAxisTitle": "", "yAxisTitle": "", } @@ -609,7 +638,6 @@ Object { "showRoundOffXTickValues": false, "showYAxisLables": true, "width": 850, - "wrapXAxisLables": true, "xAxisCategoryOrder": Array [ "Jan", "Feb", @@ -3115,7 +3143,9 @@ Object { "showYAxisLablesTooltip": true, "sortOrder": "none", "width": undefined, - "wrapXAxisLables": true, + "xAxis": Object { + "tickLayout": "auto", + }, "xAxisCategoryOrder": Array [ "x_0", "x_1", @@ -4907,7 +4937,6 @@ Object { "supportNegativeData": true, "useUTC": false, "width": undefined, - "wrapXAxisLables": false, "xAxisTitle": "", "yAxisTitle": "", "yMaxValue": 16.562957844203055, @@ -6621,7 +6650,6 @@ Object { "supportNegativeData": true, "useUTC": false, "width": undefined, - "wrapXAxisLables": false, "xAxisCategoryOrder": "data", "xAxisTitle": "", "yAxisCategoryOrder": "data", @@ -6912,7 +6940,6 @@ Object { "showYAxisLables": true, "supportNegativeData": true, "width": undefined, - "wrapXAxisLables": false, "xAxisCategoryOrder": "data", "xAxisTitle": "", "yAxisCategoryOrder": "data", @@ -7029,7 +7056,9 @@ Object { "showYAxisLablesTooltip": true, "supportNegativeData": true, "width": undefined, - "wrapXAxisLables": true, + "xAxis": Object { + "tickLayout": "auto", + }, "xAxisCategoryOrder": Array [ "Jan", "Feb", diff --git a/packages/charts/react-charting/src/components/GanttChart/__snapshots__/GanttChart.test.tsx.snap b/packages/charts/react-charting/src/components/GanttChart/__snapshots__/GanttChart.test.tsx.snap index ffe7ccdc270068..f0c5bb4b0bec21 100644 --- a/packages/charts/react-charting/src/components/GanttChart/__snapshots__/GanttChart.test.tsx.snap +++ b/packages/charts/react-charting/src/components/GanttChart/__snapshots__/GanttChart.test.tsx.snap @@ -15,6 +15,7 @@ exports[`GanttChart interaction and accessibility tests should render custom cal font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } id="chart_5" @@ -44,7 +45,7 @@ exports[`GanttChart interaction and accessibility tests should render custom cal > - Fina... @@ -7812,20 +7815,13 @@ exports[`GanttChart rendering and behavior tests should truncate y-axis tick lab x2="-6" /> - Inte... @@ -7842,20 +7838,13 @@ exports[`GanttChart rendering and behavior tests should truncate y-axis tick lab x2="-6" /> - Exte... @@ -7872,20 +7861,13 @@ exports[`GanttChart rendering and behavior tests should truncate y-axis tick lab x2="-6" /> - Plum... @@ -7902,20 +7884,13 @@ exports[`GanttChart rendering and behavior tests should truncate y-axis tick lab x2="-6" /> - Roof... @@ -7932,20 +7907,13 @@ exports[`GanttChart rendering and behavior tests should truncate y-axis tick lab x2="-6" /> - Fram... @@ -7962,20 +7930,13 @@ exports[`GanttChart rendering and behavior tests should truncate y-axis tick lab x2="-6" /> - Foun... @@ -7992,20 +7953,13 @@ exports[`GanttChart rendering and behavior tests should truncate y-axis tick lab x2="-6" /> - Site... @@ -8480,6 +8434,31 @@ exports[`GanttChart rendering and behavior tests should truncate y-axis tick lab
+
`; diff --git a/packages/charts/react-charting/src/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.tsx b/packages/charts/react-charting/src/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.tsx index 1cb69cc7c6ea4b..3756e7e663af3b 100644 --- a/packages/charts/react-charting/src/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.tsx +++ b/packages/charts/react-charting/src/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { max as d3Max, min as d3Min } from 'd3-array'; -import { select as d3Select, pointer as d3Pointer } from 'd3-selection'; +import { pointer as d3Pointer } from 'd3-selection'; import { scaleLinear as d3ScaleLinear, ScaleLinear, scaleBand as d3ScaleBand, ScaleBand } from 'd3-scale'; import { classNamesFunction, @@ -17,7 +17,6 @@ import { ChartTypes, IAxisData, getAccessibleDataObject, - tooltipOfAxislabels, XAxisTypes, getTypeOfAxis, formatScientificLimitWidth, @@ -117,7 +116,6 @@ export class GroupedVerticalBarChartBase private _classNames: IProcessedStyleSet; private _yMax: number; private _calloutId: string; - private _tooltipId: string; private _xAxisType: XAxisTypes; private _isRtl: boolean = getRTL(); private _calloutAnchorPoint: IGVBarChartSeriesPoint | null; @@ -164,7 +162,6 @@ export class GroupedVerticalBarChartBase legendColor: 'Dont use this property. colour will pick from given data.', }); this._calloutId = getId('callout'); - this._tooltipId = getId('GVBCTooltipId_'); this._emptyChartId = getId('_GVBC_empty'); this._domainMargin = MIN_DOMAIN_MARGIN; this._cartesianChartRef = React.createRef(); @@ -558,20 +555,6 @@ export class GroupedVerticalBarChartBase } } }); - // Used to display tooltip at x axis labels. - if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) { - const xAxisElement = d3Select(xElement).call(xScale0); - try { - document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove(); - // eslint-disable-next-line no-empty - } catch (e) {} - const tooltipProps = { - tooltipCls: this._classNames.tooltip!, - id: this._tooltipId, - axis: xAxisElement, - }; - xAxisElement && tooltipOfAxislabels(tooltipProps); - } return ( { { data: chartPoints, showXAxisLablesTooltip: true, noOfCharsToTruncate: 3 }, container => { // Assert - expect(getById(container, /showDots/i)).toHaveLength(3); - expect(getById(container, /showDots/i)[0]!.textContent!).toEqual('Met...'); + const tickLabels = container.querySelectorAll('tspan'); + expect(tickLabels).toHaveLength(3); + expect(tickLabels[0].textContent).toEqual('Met...'); }, ); @@ -687,8 +688,9 @@ describe('Grouped vertical bar chart - Subcomponent Labels', () => { expect(bars).toHaveLength(6); fireEvent.mouseOver(bars[0]); // Assert - expect(getById(container, /showDots/i)).toHaveLength(3); - expect(getById(container, /showDots/i)[0]!.textContent!).toEqual('Meta...'); + const tickLabels = container.querySelectorAll('tspan'); + expect(tickLabels).toHaveLength(3); + expect(tickLabels[0].textContent).toEqual('Meta...'); }, ); diff --git a/packages/charts/react-charting/src/components/GroupedVerticalBarChart/__snapshots__/GroupedVerticalBarChart.test.tsx.snap b/packages/charts/react-charting/src/components/GroupedVerticalBarChart/__snapshots__/GroupedVerticalBarChart.test.tsx.snap index e817602b5b8586..6cba77a72559ab 100644 --- a/packages/charts/react-charting/src/components/GroupedVerticalBarChart/__snapshots__/GroupedVerticalBarChart.test.tsx.snap +++ b/packages/charts/react-charting/src/components/GroupedVerticalBarChart/__snapshots__/GroupedVerticalBarChart.test.tsx.snap @@ -15,12 +15,13 @@ exports[`GroupedVerticalBarChart snapShot testing renders enabledLegendsWrapLine font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_4" + id="chart_3" >
@@ -592,12 +593,13 @@ exports[`GroupedVerticalBarChart snapShot testing renders hideLegend correctly 1 font-weight: 400; height: 100%; overflow: hidden; + position: relative; width: 100%; } - id="chart_4" + id="chart_3" >