Hi Mark,
Please find the response for your queries.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Query #1: each time the user scrolls to the bottom, the page automatically scrolls back to the top when the graphs are updated?
We have analyzed your query. When we update the linear gauge, we have removed the DOM and each time re-render the components. Once the component rendered, parent container size will be changed based on the size of the components. So, If the parent container element size is null, the Dom layout will get changed, and the scroll bar will be going to the top. But you can prevent this by setting the height for the parent container element.
Code snippet:
<div align='center' style="height: 450px;">
<ejs-lineargauge #gauge (loaded)='loaded($event)'>
// Other Codes
</ejs-lineargauge>
</div> |
Query #2: If the page is small enough to require scrolling, every time the list of Series is modified, the pages scrolls back to the top?
You can refer the above scenario for chart also.
Code snippet:
<div align='center' style="height: 450px;" >
<ejs-chart #chart id='chart-container' [chartArea]='chartArea' [width]='width' align='center' [primaryXAxis]='primaryXAxis' [primaryYAxis]='primaryYAxis' [zoomSettings]='zoomSettings' >
<e-series-collection>
<e-series [dataSource]='series1' type='Line' xName='x' yName='y' width=2 >
</e-series>
</e-series-collection>
</ejs-chart>
</div> |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Let us know if you have any concerns.
Regards,
Srihari M