Feature #296

Dimension slider value (e.g., year) able to be placed in "custom" Tool titles (bar charts, maps, etc.)

Added by Mike Smyser over 6 years ago. Updated about 6 years ago.

Status:ResolvedStart date:08/02/2011
Priority:ImmediateDue date:
Assignee:Andy Dufilie% Done:

100%

Category:Visualization InterfaceEstimated time: (Total: 30.00 h)
Target version:1.0
Complexity:High OIC Priority:
Required by:Seattle, WA

Description

Values now appear in the default mode (Thanks! Feature #114), but we will need to customize titles which makes the dimension slider value disappear. This is a high priority for us, since when viewers look at a chart or map, etc, the timeframe is not easily determined (i.e., the viewer needs to somehow know what the TimeSlider is and then they have to read it to correctly interpret the charts, maps their looking at). Perhaps a Weave system variable could be set up (e.g., $timeslidervalue), such that when it's used in a title, Weave would replace the variable with the current TimeSlider value? E.g., Tooltile = Health Indicator by Gender, SomeCounty, $timeslidervalue. In this example, Weave would substitute the current TimeSlider value in BarChart title (i.e., a real year or date value). This issue is also somewhat related to Feature #92 (Display large YEAR numbers over MAP or SCATTERPLOT...).

HorizontalBarChart_needsYearInTitle.png - Example of bar chart where dimension slider value should be include (12.7 KB) Mike Smyser, 08/02/2011 01:43 PM

dimension-slider-macro.xml Magnifier (220 KB) Andy Dufilie, 11/01/2011 12:29 PM


Subtasks


Related issues

Related to Weave - Feature #114: Dimension slider value (e.g., year) able to be placed in Tool titles (bar charts, maps, etc.) Resolved 06/30/2011
Related to Weave - Feature #92: Display large YEAR numbers over MAP or SCATTERPLOT with opacity controlled as years pass in timeslider (see Gapminder) Open 07/06/2011
Related to Weave - Other #119: Stop using SecondaryKeyNumColumn and refactor the code related to the dimension slider. Open 07/01/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 6 years ago

This description no longer applies:

This is a high priority for us, since when viewers look at a chart or map, etc, the timeframe is not easily determined (i.e., the viewer needs to somehow know what the TimeSlider is and then they have to read it to correctly interpret the charts, maps their looking at).

Users can now easily determine the time value, since it is included in the column titles. Is this still high priority, then? If so, what is the new reasoning?

#2 Updated by Andy Dufilie over 6 years ago

  • Category set to Visualization Interface

#3 Updated by admin account over 6 years ago

E-mailed from Mike Smyser:

Typically, when we present a chart or graph, the title contains pretty standard information. Typically this information includes:

1) What? Could be a health topic or specifics about what is shown (E.g., diabetes, or all-cause mortality)

2) Who? Population group (E.g., total population or specific group: African Americans)

3) Where? Geography

4) When? Timeframe

Using the default set up, however, never allows us to give a complete description of what’s going on in a particular chart, graph, or map, unless we only present static visualizations (i.e., no dimension slider). The default titles you created helps the situation (i.e., we might be able to one or 2 of the items above + the timeframe; or the time might show up in a x-axis or y-axis label), but we’re still never able to generate a complete title. Therefore, being able to generate a FULL title which includes the time element is still very important for us. I’ll discuss this further with my colleagues this week to see if we would be willing to down-grade this request.

#4 Updated by Andy Dufilie over 6 years ago

  • Complexity set to High

#5 Updated by admin account over 6 years ago

  • Complexity changed from High to *** High ***

#6 Updated by admin account over 6 years ago

  • Complexity changed from *** High *** to High

#7 Updated by Mike Smyser over 6 years ago

Current default titles tend to create duplicate values in the visualization which can make the visualization somewhat cluttered (e.g., all columns in DataTable will show the DimensionSlider value), whereas a custom title would be able to show the value only once.

#8 Updated by Mike Smyser about 6 years ago

This feature needs to work universally in any customized axis label and even in the the AnnotationTool to allow for more flexibility when creating titles or notes (i.e., they can be move to different locations of the visualization - not just the top).

#9 Updated by Andy Dufilie about 6 years ago

Those are all separate feature requests.

#10 Updated by Mike Smyser about 6 years ago

Perhaps this request should be "Create universal time-slider macro/system variable that can be used in custom titles, annotations and axis labels." For example, macro or system variable could be called "$timeslidervalue" and when used in a custom title or label the current current time-slider value would be substituted.

#11 Updated by Andy Dufilie about 6 years ago

Each place that uses macros is a separate part of both the code and the user interface, and I would consider it a separate feature.

#12 Updated by Mike Smyser about 6 years ago

I'll create a separate request for including the new feature in the AnnotationTool and make that our highest priority. The Window title would be a secondary priority, since the Windows titles vanish in Dashboard mode. Other custom labels can wait.

#13 Updated by Andy Dufilie about 6 years ago

Attached is a sample configuration that puts the dimension slider value in the title of a histogram tool.

The following part in the session state is relevant, under WeaveProperties:

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

The title of the histogram is the following, set in the control panel:

YEAR = {dimensionSliderValue}

This will be in the nightly build tonight.

#14 Updated by Andy Dufilie about 6 years ago

  • Status changed from Needs Merge to Resolved
  • Required by set to Seattle, WA

#15 Updated by Andy Dufilie about 6 years ago

  • Target version set to 1.0

Also available in: Atom PDF