Sign in to follow this  
rs1980

Resize Chart Height In Real Time Widgets

Recommended Posts

Hi,

 

 

We are using a streaming engine in the background to push data for real time column/line/area.

Scenario 1 - no data available when chart loaded for the first time.

Our logic is if the chart is opened for the first time and there is no data in the backend, the chart gets painted empty and occupies the entire 100% height and width.

Now based on refresh interval, dataStreamURL gets invoked and if data is available it gets shown. However the chart size does not resize and it truncates the x axis labels. see attached.

 

Scenario 2 - data available when chart loaded for the first time.

But if chart is opened for the first time and data is available, it resizes properly and x axis value shows up fine.

 

Is there a way to resize the chart during dataStream calls?

 

We are using 3.2.4-sr1.9888.

 

Rahul

post-30804-0-71863700-1359053700_thumb.png

post-30804-0-35769200-1359053931_thumb.png

Share this post


Link to post
Share on other sites

Appreciate a help on this issue. Sometimes we have noticed that charts points are plotted outside the chart area.

Hi,

 

 

We are using a streaming engine in the background to push data for real time column/line/area.

Scenario 1 - no data available when chart loaded for the first time.

Our logic is if the chart is opened for the first time and there is no data in the backend, the chart gets painted empty and occupies the entire 100% height and width.

Now based on refresh interval, dataStreamURL gets invoked and if data is available it gets shown. However the chart size does not resize and it truncates the x axis labels. see attached.

 

Scenario 2 - data available when chart loaded for the first time.

But if chart is opened for the first time and data is available, it resizes properly and x axis value shows up fine.

 

Is there a way to resize the chart during dataStream calls?

 

We are using 3.2.4-sr1.9888.

 

Rahul

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this