Accumulation Chart - leaves behind text element with id 'chartmeasuretext' at the bottom of the DOM

Hi,

When making use of the Accumulation Chart control, I have noticed that it leaves behind an element at the end of the DOM.

'<text id="chartmeasuretext" style="position: absolute; font-size: 11px; font-weight: 600; font-style: normal; font-family: &quot;Segoe UI&quot;; visibility: hidden; left: 0px; white-space: nowrap; line-height: normal;">5% (77)</text>'

When I initially tried to workaround the issue and suppress the element I noticed that it affected the placement of text on my chart.  I suspect this element is used by the control to calculate the positioning of the text on the control.  Currently, it seems to fail to remove the element from the DOM once it has completed it's task.

I have attached an image showing the offending element.

Any suggestions on working around this issue?  It is currently affecting the layout of my application.

Best regards
Daniel Williams

Attachment: AccumulationChartIssue_8f9ba772.zip

2 Replies

BP Baby Palanidurai Syncfusion Team July 23, 2018 11:00 AM UTC

Hi Daniel, 

We have analyzed your query and we are using that text element to measure the tooltip text on mouse move and hence it’s not removed after DOM after the chart got rendered. We have consider your scenario to remove the text element and logged a bug report for “Need to remove text element from DOM for accumulation charts”, and the fix will be available in our next patch release. 
Kindly revert us, if you have any concern. 
 
Thanks, 
Baby. 



DD Dharanidharan Dharmasivam Syncfusion Team August 9, 2018 09:46 AM UTC

Hi Daniel, 
  
We are glad to announce that our v16.2.47 patch release is rolled out, we have removed the text element from bottom of the DOM for charts and is available for download under the following link. 
  
  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us, if you would require any further assistance. 
  
Thanks,          
Dharani. 


Loader.
Up arrow icon