Closed dekkofilms closed 6 years ago
I actually had a similar issue, what I found was that it's a bug with nvd3. To get around it I had to re-render the chart on gridster-resized event
this.$scope.$on('gridster-resized', (item) =>{
this.$timeout(()=>{
this.nvChart.update();
});
});`
I'm using gridster, and everything is working pretty smoothly, but one of my charts is not positioned or sized correctly. Any ideas or help would be appreciated!
So on initial page load it is positioned wrong, and super tiny:
But if I drag the entire browser a little bit, it immediately fixes itself in place:
How can i have it in it's correct position and behavior without having to drag the browser in for it to fix itself?
And here is the gridster options and grid:
I have another chart in the same dashboard, and that one doesn't have this issue at all, so I am a little stumped at this point.