Feature #391

Preserve aspect ratio in dashboard mode

Added by Christian Spanring over 5 years ago. Updated over 5 years ago.

Status:ResolvedStart date:08/16/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Visualization Interface
Target version:1.0
Complexity:Medium OIC Priority:
Required by:MAPC, Boston, MA

Description

Currently a visualization will completely fit the available size of the parent flash object it is rendered in on a web page. This behavior can lead to a warped visualization if it was created in a canvas with different dimensions than it is viewed in.

Weave should maximize to available object size while preserving the original aspect ratio (=bounding box of all visualization tools on the canvas).

fixed-workspace.png (117 KB) Andy Dufilie, 11/03/2011 01:11 AM


Subtasks


Related issues

Related to Weave - Feature #585: Add an option to target Weave for a specific resolution by limiting the Weave desktop (workspace) size Resolved 10/14/2011

History

#1 Updated by Andy Dufilie over 5 years ago

How about when you resize the browser window?

#2 Updated by Andy Dufilie over 5 years ago

  • Complexity set to Medium

#3 Updated by Christian Spanring over 5 years ago

I'm not sure if taking control over the browser window and resizing it is a good user experience, might be confusing for the user, and it has it's limitations (e.g. browser on Android tablet running Weave?).

Our workflow to create a visualization is:

  1. Create or edit a visualization with Weave canvas using the maximum real estate available in the browser window, to maximize user experience
  2. Visualization is then shown on multiple other pages throughout the platform - detail page, can be embedded on 3rd party sites, data story, community snapshot, etc. - all with different Weave object dimensions.

#4 Updated by Andy Dufilie over 5 years ago

I'm asking what should be done when the browser window gets resized. What should happen?

#5 Updated by Andy Dufilie over 5 years ago

It seems to me that this feature should only apply to dashboard mode where the user cannot resize the windows. Things get very complicated otherwise.

#6 Updated by Christian Spanring over 5 years ago

Andy Dufilie wrote:

I'm asking what should be done when the browser window gets resized. What should happen?

The visualization should resize, while preserving the aspect ratio.

#7 Updated by Christian Spanring over 5 years ago

Andy Dufilie wrote:

It seems to me that this feature should only apply to dashboard mode where the user cannot resize the windows. Things get very complicated otherwise.

Yes, I agree with that.

#8 Updated by Andy Dufilie over 5 years ago

  • Subject changed from Preserve aspect ratio to Preserve aspect ratio in dashboard mode

#9 Updated by Andy Dufilie over 5 years ago

Feature #585 is now implemented which allows you to set a fixed Weave workspace size. Is that enough or do you still want this other feature implemented?

#10 Updated by Christian Spanring over 5 years ago

If it includes a method to prevent "warped" visualizations, either by limiting the workspace when the visualization is created/saved or when the visualization is called/rendered, then this issue is solved from my point of view. I can't really tell if that's the case from the descriptions, but I obviously trust you on that...

#11 Updated by Andy Dufilie over 5 years ago

I'll mark this resolved, then. Here's a screenshot of the new feature. When you resize the browser window, the Weave workspace does not resize.

{{thumb(fixed-workspace.png)}}

#12 Updated by Andy Dufilie over 5 years ago

  • Status changed from Open to Resolved

Anyone who wants a different solution can re-open this issue or duplicate the feature request.

#13 Updated by Andy Dufilie over 5 years ago

  • Required by set to MAPC, Boston, MA

#14 Updated by Christian Spanring over 5 years ago

what property/value defines the workspace?

#15 Updated by Andy Dufilie over 5 years ago

The two text boxes in the User Interface Preferences panel edit the workspaceWidth and workspaceHeight properties in WeaveProperties. In other words, you can set the size like this:

weave.setSessionState(['WeaveProperties'], {workspaceWidth: 800, workspaceHeight:600});

#16 Updated by Andy Dufilie over 5 years ago

  • Target version set to 1.0

Also available in: Atom PDF