Skip to main content
12-Amethyst
July 21, 2022
Solved

Ptcs-ChartLine widget not loading completely on initial data load.

  • July 21, 2022
  • 3 replies
  • 1648 views

Ptcs-ChartLine widget not loading completely on initial data load. But when i try to load by giving next set of data it is loading. Can any one help me to solve this

Best answer by BharathB

Hi,

I resolved this issue by using CSS to the line chart.

 

/**ptcs-line-chart css (initial load bug: set min-height in style to 470px )**/
#root_pagemashupcontainer-8_ptcschartline-245-bounding-box{
min-width: 100% !important;
overflow: hidden !important;
}

.linechart-height-cls .widget-ptcschartline {
height: 470px !important;
}

 

Thanks.

3 replies

14-Alexandrite
July 22, 2022

Hello,

to me it looks like not all data is provided to the chart during the inital loading process.
This may also affect the associated service. The debug tools could help you there. (Crtl+Alt+F9 --> Debug --> Service)

 

Is the associated service executed at the end? Possibly also triggered by "ServiceInvokeCompleted" of the previous service.

 

Best regards

Marc

6-Contributor
July 25, 2022

Hi BharathB i'm also facing the same issue the graph is not visible initailly on load however when i try to zoom in or zoom out the page the graph is visible but with improper scaling. Sometime graph become visible on reloading the url multiple times. Let me know if you find anything regarding the problem.

 

Regards,

Adarsh

BharathB12-AmethystAuthorAnswer
12-Amethyst
September 14, 2023

Hi,

I resolved this issue by using CSS to the line chart.

 

/**ptcs-line-chart css (initial load bug: set min-height in style to 470px )**/
#root_pagemashupcontainer-8_ptcschartline-245-bounding-box{
min-width: 100% !important;
overflow: hidden !important;
}

.linechart-height-cls .widget-ptcschartline {
height: 470px !important;
}

 

Thanks.