@@ -54,78 +54,76 @@ exports[`Chart should render the legend name test 1`] = `
5454 </div >
5555 </LegendComponent >
5656 </Connect(LegendComponent)>
57- <ErrorBoundary >
58- <Connect(SpecsParserComponent)>
59- <SpecsParserComponent specParsed = { [Function (anonymous )]} specUnmounted = { [Function (anonymous )]} >
60- <Settings debug = { true } rendering = " svg" showLegend = { true } />
61- <BarSeries id = " test" data = { {... }} xAccessor = " x" yAccessors = { {... }} />
62- </SpecsParserComponent >
63- </Connect(SpecsParserComponent)>
64- <div className = " echContainer" >
65- <Connect(ChartContainer) getChartContainerRef={ [Function (anonymous )]} forwardStageRef={ {... }} >
66- <ChartContainer getChartContainerRef = { [Function (anonymous )]} forwardStageRef = { {... }} status = " Initialized" initialized = { true } tooltipState = { {... }} isChartEmpty = { false } canPinTooltip = { false } pointerCursor = { [undefined ]} isBrushingAvailable = { false } isBrushing = { false } internalChartRenderer = { [Function : chartRenderer ]} settings = { {... }} tooltip = { {... }} disableInteractions = { false } onPointerMove = { [Function (anonymous )]} onMouseUp = { [Function (anonymous )]} onMouseDown = { [Function (anonymous )]} onKeyPress = { [Function (anonymous )]} pinTooltip = { [Function (anonymous )]} >
67- <div className = " echChartPointerContainer" style = { {... }} onMouseMove = { [Function (anonymous )]} onMouseLeave = { [Function (anonymous )]} onMouseDown = { [Function (anonymous )]} onMouseUp = { [Function (anonymous )]} onContextMenu = { [undefined ]} >
68- <Connect(CursorBand)>
69- <CursorBand isBrushing = { false } theme = { {... }} chartRotation = { 0 } cursorPosition = { [undefined ]} tooltipType = " vertical" fromExternalEvent = { [undefined ]} tooltipState = { {... }} dispatch = { [Function : dispatch ]} />
70- </Connect(CursorBand)>
71- <Connect(XYChart) forwardCanvasRef={ {... }} >
72- <XYChart forwardCanvasRef = { {... }} locale = " en-US" isRTL = { false } initialized = { true } isChartEmpty = { false } debug = { true } geometries = { {... }} geometriesIndex = { {... }} theme = { {... }} chartContainerDimensions = { {... }} highlightedLegendItem = { [undefined ]} hoveredAnnotationIds = { {... }} rotation = { 0 } renderingArea = { {... }} chartTransform = { {... }} axesSpecs = { {... }} perPanelAxisGeoms = { {... }} perPanelGridLines = { {... }} axesStyles = { {... }} annotationDimensions = { {... }} annotationSpecs = { {... }} panelGeoms = { {... }} a11ySettings = { {... }} onChartRendered = { [Function (anonymous )]} >
73- <figure aria-labelledby = { [undefined ]} aria-describedby = " chart1--defaultSummary" >
74- <canvas dir = " ltr" className = " echCanvasRenderer" width = { 170 } height = { 200 } style = { {... }} role = " presentation" />
75- </figure >
76- <Connect(ScreenReaderSummaryComponent)>
77- <ScreenReaderSummaryComponent chartTypeDescription = " bar chart" a11ySettings = { {... }} goalChartData = { {... }} goalChartLabels = { {... }} dispatch = { [Function : dispatch ]} >
78- <div className = " echScreenReaderOnly" >
79- <ScreenReaderLabel label = { [undefined ]} labelId = { [undefined ]} labelHeadingLevel = " p" description = { [undefined ]} descriptionId = " chart1--defaultSummary" defaultSummaryId = " chart1--defaultSummary" tableCaption = { [undefined ]} goalChartLabels = { {... }} />
80- <ScreenReaderDescription label = { [undefined ]} labelId = { [undefined ]} labelHeadingLevel = " p" description = { [undefined ]} descriptionId = " chart1--defaultSummary" defaultSummaryId = " chart1--defaultSummary" tableCaption = { [undefined ]} />
81- <ScreenReaderTypes label = { [undefined ]} labelId = { [undefined ]} labelHeadingLevel = " p" description = { [undefined ]} descriptionId = " chart1--defaultSummary" defaultSummaryId = " chart1--defaultSummary" tableCaption = { [undefined ]} chartTypeDescription = " bar chart" goalChartData = { {... }} >
82- <dl >
83- <dt >
84- Chart type:
85- </dt >
86- <dd id = " chart1--defaultSummary" >
87- bar chart
88- </dd >
89- </dl >
90- </ScreenReaderTypes >
91- </div >
92- </ScreenReaderSummaryComponent >
93- </Connect(ScreenReaderSummaryComponent)>
94- </XYChart >
95- </Connect(XYChart)>
96- <Connect(CursorLine)>
97- <CursorLine isBrushing = { false } theme = { {... }} chartRotation = { 0 } cursorPosition = { [undefined ]} tooltipType = " vertical" fromExternalEvent = { [undefined ]} isLine = { false } tooltipState = { {... }} dispatch = { [Function : dispatch ]} />
98- </Connect(CursorLine)>
99- <Connect(CursorCrossLine)>
100- <CursorCrossLine theme = { {... }} chartRotation = { 0 } cursorCrossLinePosition = { [undefined ]} tooltipType = " vertical" dispatch = { [Function : dispatch ]} />
101- </Connect(CursorCrossLine)>
102- <Connect(Tooltip) getChartContainerRef={ [Function (anonymous )]} >
103- <Tooltip getChartContainerRef = { [Function (anonymous )]} tooltip = { {... }} isExternal = { false } isBrushing = { false } zIndex = { 0 } settings = { {... }} tooltipTheme = { {... }} rotation = { 0 } chartId = " chart1" backgroundColor = " #FFF" visible = { false } position = { {... }} info = { {... }} pinned = { false } selected = { {... }} canPinTooltip = { false } onPointerMove = { [Function (anonymous )]} toggleSelectedTooltipItem = { [Function (anonymous )]} setSelectedTooltipItems = { [Function (anonymous )]} pinTooltip = { [Function (anonymous )]} />
104- </Connect(Tooltip)>
105- <Connect(Annotations) getChartContainerRef={ [Function (anonymous )]} chartAreaRef={ {... }} >
106- <Annotations getChartContainerRef = { [Function (anonymous )]} chartAreaRef = { {... }} isChartEmpty = { false } chartDimensions = { {... }} sharedStyle = { {... }} annotationDimensions = { {... }} annotationSpecs = { {... }} tooltipState = { {... }} chartId = " chart1" zIndex = { 0 } hoveredAnnotationIds = { {... }} clickable = { false } onPointerMove = { [Function (anonymous )]} onDOMElementLeave = { [Function (anonymous )]} onDOMElementEnter = { [Function (anonymous )]} onDOMElementClick = { [Function (anonymous )]} >
107- <AnnotationTooltip chartId = " chart1" zIndex = { 0 } state = { {... }} chartRef = { {... }} onScroll = { [Function (anonymous )]} />
108- </Annotations >
109- </Connect(Annotations)>
110- <Connect(Highlighter)>
111- <Highlighter initialized = { true } chartId = " chart1" zIndex = { 0 } isBrushing = { false } highlightedGeometries = { {... }} chartTransform = { {... }} chartDimensions = { {... }} chartRotation = { 0 } style = { {... }} dispatch = { [Function : dispatch ]} >
112- <svg className = " echHighlighter" style = { {... }} >
113- <defs >
114- <clipPath id = " echHighlighterClipPath__chart1" >
115- <rect x = " 0" y = " 0" width = { 170 } height = { 200 } />
116- </clipPath >
117- </defs >
118- </svg >
119- </Highlighter >
120- </Connect(Highlighter)>
121- <Connect(BrushTool)>
122- <BrushTool initialized = { true } projectionContainer = { {... }} mainProjectionArea = { {... }} isBrushAvailable = { false } isBrushing = { false } brushEvent = { {... }} zIndex = { 0 } dispatch = { [Function : dispatch ]} />
123- </Connect(BrushTool)>
124- </div >
125- </ChartContainer >
126- </Connect(ChartContainer)>
127- </div >
128- </ErrorBoundary >
57+ <Connect(SpecsParserComponent)>
58+ <SpecsParserComponent specParsed = { [Function (anonymous )]} specUnmounted = { [Function (anonymous )]} >
59+ <Settings debug = { true } rendering = " svg" showLegend = { true } />
60+ <BarSeries id = " test" data = { {... }} xAccessor = " x" yAccessors = { {... }} />
61+ </SpecsParserComponent >
62+ </Connect(SpecsParserComponent)>
63+ <div className = " echContainer" >
64+ <Connect(ChartContainer) getChartContainerRef={ [Function (anonymous )]} forwardStageRef={ {... }} >
65+ <ChartContainer getChartContainerRef = { [Function (anonymous )]} forwardStageRef = { {... }} status = " Initialized" initialized = { true } tooltipState = { {... }} isChartEmpty = { false } canPinTooltip = { false } pointerCursor = { [undefined ]} isBrushingAvailable = { false } isBrushing = { false } internalChartRenderer = { [Function : chartRenderer ]} settings = { {... }} tooltip = { {... }} disableInteractions = { false } onPointerMove = { [Function (anonymous )]} onMouseUp = { [Function (anonymous )]} onMouseDown = { [Function (anonymous )]} onKeyPress = { [Function (anonymous )]} pinTooltip = { [Function (anonymous )]} >
66+ <div className = " echChartPointerContainer" style = { {... }} onMouseMove = { [Function (anonymous )]} onMouseLeave = { [Function (anonymous )]} onMouseDown = { [Function (anonymous )]} onMouseUp = { [Function (anonymous )]} onContextMenu = { [undefined ]} >
67+ <Connect(CursorBand)>
68+ <CursorBand isBrushing = { false } theme = { {... }} chartRotation = { 0 } cursorPosition = { [undefined ]} tooltipType = " vertical" fromExternalEvent = { [undefined ]} tooltipState = { {... }} dispatch = { [Function : dispatch ]} />
69+ </Connect(CursorBand)>
70+ <Connect(XYChart) forwardCanvasRef={ {... }} >
71+ <XYChart forwardCanvasRef = { {... }} locale = " en-US" isRTL = { false } initialized = { true } isChartEmpty = { false } debug = { true } geometries = { {... }} geometriesIndex = { {... }} theme = { {... }} chartContainerDimensions = { {... }} highlightedLegendItem = { [undefined ]} hoveredAnnotationIds = { {... }} rotation = { 0 } renderingArea = { {... }} chartTransform = { {... }} axesSpecs = { {... }} perPanelAxisGeoms = { {... }} perPanelGridLines = { {... }} axesStyles = { {... }} annotationDimensions = { {... }} annotationSpecs = { {... }} panelGeoms = { {... }} a11ySettings = { {... }} onChartRendered = { [Function (anonymous )]} >
72+ <figure aria-labelledby = { [undefined ]} aria-describedby = " chart1--defaultSummary" >
73+ <canvas dir = " ltr" className = " echCanvasRenderer" width = { 170 } height = { 200 } style = { {... }} role = " presentation" />
74+ </figure >
75+ <Connect(ScreenReaderSummaryComponent)>
76+ <ScreenReaderSummaryComponent chartTypeDescription = " bar chart" a11ySettings = { {... }} goalChartData = { {... }} goalChartLabels = { {... }} dispatch = { [Function : dispatch ]} >
77+ <div className = " echScreenReaderOnly" >
78+ <ScreenReaderLabel label = { [undefined ]} labelId = { [undefined ]} labelHeadingLevel = " p" description = { [undefined ]} descriptionId = " chart1--defaultSummary" defaultSummaryId = " chart1--defaultSummary" tableCaption = { [undefined ]} goalChartLabels = { {... }} />
79+ <ScreenReaderDescription label = { [undefined ]} labelId = { [undefined ]} labelHeadingLevel = " p" description = { [undefined ]} descriptionId = " chart1--defaultSummary" defaultSummaryId = " chart1--defaultSummary" tableCaption = { [undefined ]} />
80+ <ScreenReaderTypes label = { [undefined ]} labelId = { [undefined ]} labelHeadingLevel = " p" description = { [undefined ]} descriptionId = " chart1--defaultSummary" defaultSummaryId = " chart1--defaultSummary" tableCaption = { [undefined ]} chartTypeDescription = " bar chart" goalChartData = { {... }} >
81+ <dl >
82+ <dt >
83+ Chart type:
84+ </dt >
85+ <dd id = " chart1--defaultSummary" >
86+ bar chart
87+ </dd >
88+ </dl >
89+ </ScreenReaderTypes >
90+ </div >
91+ </ScreenReaderSummaryComponent >
92+ </Connect(ScreenReaderSummaryComponent)>
93+ </XYChart >
94+ </Connect(XYChart)>
95+ <Connect(CursorLine)>
96+ <CursorLine isBrushing = { false } theme = { {... }} chartRotation = { 0 } cursorPosition = { [undefined ]} tooltipType = " vertical" fromExternalEvent = { [undefined ]} isLine = { false } tooltipState = { {... }} dispatch = { [Function : dispatch ]} />
97+ </Connect(CursorLine)>
98+ <Connect(CursorCrossLine)>
99+ <CursorCrossLine theme = { {... }} chartRotation = { 0 } cursorCrossLinePosition = { [undefined ]} tooltipType = " vertical" dispatch = { [Function : dispatch ]} />
100+ </Connect(CursorCrossLine)>
101+ <Connect(Tooltip) getChartContainerRef={ [Function (anonymous )]} >
102+ <Tooltip getChartContainerRef = { [Function (anonymous )]} tooltip = { {... }} isExternal = { false } isBrushing = { false } zIndex = { 0 } settings = { {... }} tooltipTheme = { {... }} rotation = { 0 } chartId = " chart1" backgroundColor = " #FFF" visible = { false } position = { {... }} info = { {... }} pinned = { false } selected = { {... }} canPinTooltip = { false } onPointerMove = { [Function (anonymous )]} toggleSelectedTooltipItem = { [Function (anonymous )]} setSelectedTooltipItems = { [Function (anonymous )]} pinTooltip = { [Function (anonymous )]} />
103+ </Connect(Tooltip)>
104+ <Connect(Annotations) getChartContainerRef={ [Function (anonymous )]} chartAreaRef={ {... }} >
105+ <Annotations getChartContainerRef = { [Function (anonymous )]} chartAreaRef = { {... }} isChartEmpty = { false } chartDimensions = { {... }} sharedStyle = { {... }} annotationDimensions = { {... }} annotationSpecs = { {... }} tooltipState = { {... }} chartId = " chart1" zIndex = { 0 } hoveredAnnotationIds = { {... }} clickable = { false } onPointerMove = { [Function (anonymous )]} onDOMElementLeave = { [Function (anonymous )]} onDOMElementEnter = { [Function (anonymous )]} onDOMElementClick = { [Function (anonymous )]} >
106+ <AnnotationTooltip chartId = " chart1" zIndex = { 0 } state = { {... }} chartRef = { {... }} onScroll = { [Function (anonymous )]} />
107+ </Annotations >
108+ </Connect(Annotations)>
109+ <Connect(Highlighter)>
110+ <Highlighter initialized = { true } chartId = " chart1" zIndex = { 0 } isBrushing = { false } highlightedGeometries = { {... }} chartTransform = { {... }} chartDimensions = { {... }} chartRotation = { 0 } style = { {... }} dispatch = { [Function : dispatch ]} >
111+ <svg className = " echHighlighter" style = { {... }} >
112+ <defs >
113+ <clipPath id = " echHighlighterClipPath__chart1" >
114+ <rect x = " 0" y = " 0" width = { 170 } height = { 200 } />
115+ </clipPath >
116+ </defs >
117+ </svg >
118+ </Highlighter >
119+ </Connect(Highlighter)>
120+ <Connect(BrushTool)>
121+ <BrushTool initialized = { true } projectionContainer = { {... }} mainProjectionArea = { {... }} isBrushAvailable = { false } isBrushing = { false } brushEvent = { {... }} zIndex = { 0 } dispatch = { [Function : dispatch ]} />
122+ </Connect(BrushTool)>
123+ </div >
124+ </ChartContainer >
125+ </Connect(ChartContainer)>
126+ </div >
129127 </div >
130128 </div >
131129 </Provider >
0 commit comments