cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

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

BharathB
7-Bedrock

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

3 REPLIES 3
M4RC
14-Alexandrite
(To:BharathB)

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

AA_10034462
5-Regular Member
(To:BharathB)

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

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.