Skip to main content
12-Amethyst
Jul 21, 2022 2:04 PM UTC
Solved

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

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

BharathBAnswer
12-Amethyst
Sep 14, 2023 10:21 AM UTC

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
Jul 22, 2022 6:32 AM UTC

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

Translate
6-Contributor
Jul 25, 2022 4:45 AM UTC

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

Translate
BharathB12-AmethystAuthorAnswer
12-Amethyst
Sep 14, 2023 10:21 AM UTC

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.

Translate