95
Views
2
Comments
The line chart display wrong when I change data and refresh the line chart
Question

I have a demo to display data using line chart. When go to my page. the line chart show with data as below:

When click in Refresh button, I will clear the DataPointList and add new data with only data for Tue, Wed, Thu, Sat and Sun. I expect the data only show for the days but currently the line chart is showing as below:

  What is wrong here? Can I help me?

2018-05-30 16-28-55
Gopinath Reddy Reddigari

Hi Cuong,

Is it possible to post the screenshot of the logic written in Refresh Action.From graph it looks like the data is getting appended before the previous data. Not sure if the previous data is cleared properly. 

UserImage.jpg
Cuong Cao

Gopi Nath wrote:

Hi Cuong,

Is it possible to post the screenshot of the logic written in Refresh Action.From graph it looks like the data is getting appended before the previous data. Not sure if the previous data is cleared properly. 

Hi Gopi Nath,


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.