Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect rendering of charts in the fullscrean mode once view mode i… #1266

Conversation

AliShahrivarian
Copy link
Collaborator

…s changing between charts and table. Fixed #1265

$scope.$on(platformParameters.events.DRAW_MODULE_FINISHED, function (event) {
if ($scope.moduleState.fullScreenMode) {
function callback(containerHeight) {
$scope.$broadcast(platformParameters.events.REDRAW_MODULE, containerHeight);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need REDRAW_MODULE once again?

callback({ containerHeight: newContainerHeight });
callback(newContainerHeight);
});
$scope.$on(platformParameters.events.GET_CONTAINER_HEIGHT, function (event, fullScreenMode, callback) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like unneded. Maybe there would be possible to save the container height somewhere in module, the class of function onRedrawModule(event, containerHeight)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants