richbl Posted July 20, 2016 Share Posted July 20, 2016 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?ThanksRich Link to comment Share on other sites More sharing options...
Zlyx Posted December 9, 2016 Share Posted December 9, 2016 Did you get anywhere with this one, richbl?I'm getting dashlets shrinking right down to a quarter their size, within the dashboard. Link to comment Share on other sites More sharing options...
richbl Posted December 9, 2016 Author Share Posted December 9, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now