Jump to content
We've recently updated our Privacy Statement, available here ×

Scale a Dashboard Using Visualize.js?


richbl

Recommended Posts

Hello All,

While the Visualize.js API permits the scaling of reports, the API does not appear to the use of the "scale:" attribute for dashboards.

So my question is this: how to programmatically scale a dashboard renderered through Visualize.js?

Thanks

Rich

Link to comment
Share on other sites

  • 4 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

No official response. However, I did some research and it appears that dashboards are comprised of reports which are HighCharts objects. And because of this nesting, it's not possible to apply scaling to the child of an object (in general, it's generally considered bad design to draw into a hidden object in HTML/CSS).

In our case, since our problem was redraw issues of nested reports in a dashboard (hence the desire to re-scale the dashboard and force a redraw), we decided to simply redraw the entire dashboard after it was displayed/resized.

To put some visual context to the problem, see https://github.com/richbl/ng2-bootstrap-visualizejs, which was our use case for the problem. In the end, when the user tabs to a new dashboard, rather than attempting to rescale, we just redraw.

 

 

Link to comment
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

×
×
  • Create New...