Feature #577

Dimension slider value (e.g., year) able to be placed in "custom" SessionedTextBox/Annotation Tool

Added by Mike Smyser over 5 years ago. Updated over 5 years ago.

Status:ResolvedStart date:10/11/2011
Priority:ImmediateDue date:
Assignee:Andy Dufilie% Done:

100%

Category:Internal Code Refactoring
Target version:1.0
Complexity:Medium OIC Priority:
Required by:Seattle, WA

Description

Create a macro or system variable (e.g., could be "$timeslidervalue") and when used in a custom TextBox the current current time-slider value would be displayed as part of the regular text appearing in the TextBox. Suggest that this be a higher priority than the Windows Titles (see #296) since when displaying in DashBoard mode, the Window title will disappear. Use of the TextBox also allow for greater flexibility in creating titles or other annotations and positioning them where best suited (which might not always be at the top of the Chart, Graph, etc.).

macro-example.xml Magnifier (222 KB) Andy Dufilie, 11/01/2011 11:41 PM


Subtasks


Related issues

Related to Weave - Feature #583: Ability to include attributes as a macro values in Text/AnnotationTool Resolved 10/13/2011
Related to Weave - Bug #628: Inline code in annotations does not work with xml-escaped characters such as quotes. Open 11/04/2011
Blocked by Weave - Feature #587: Provide a way to specify a list of macros in WeaveProperties for use in custom titles and annotations Resolved 10/18/2011

History

#1 Updated by Andy Dufilie over 5 years ago

  • File macro-example.xmlMagnifier added
  • Category set to Internal Code Refactoring
  • Status changed from Open to Resolved
  • Assignee set to Andy Dufilie
  • Complexity set to Medium
  • Required by set to Seattle, WA

Attached is an example session state that uses a macro.

The relevant part in the session state is:

<macroLibraries>weave.api::WeaveAPI
weave.visualization.tools.DimensionSliderTool</macroLibraries>
<macros encoding="dynamic">
  <LinkableFunction name="dimensionSliderValue">DimensionSliderTool.dimensionSliderValue</LinkableFunction>
</macros>

and the macro is accessed in the annotation as {dimensionSliderValue}. We still need a GUI for creating macros (#614).

#2 Updated by Andy Dufilie over 5 years ago

  • Target version set to 1.0

Also available in: Atom PDF