Opened 4 years ago

Closed 4 years ago

#1020 closed Bug (fixed)

Only the last chart on the page can be saved locally.

Reported by: vipsoft Owned by: vipsoft
Priority: low Milestone: Piwik 0.5
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by vipsoft)

Open Flash Chart calls save_image() without the div id. The result is that when right clicking on a chart to "Save image locally", only one chart (e.g., the last one generated on the page) can be saved.

The current workaround is to use the "Export as image" button in the chart's footer.

Change History (5)

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Description modified (diff)
  • Priority changed from major to low

comment:2 Changed 4 years ago by vipsoft (robocoder)

this may be an undocumented feature. test it -- appears to pass the id in the callback

comment:3 Changed 4 years ago by vipsoft (robocoder)

  • Milestone changed from 4- Piwik 1.0 - Stable release to 1 - Piwik 0.5

comment:4 Changed 4 years ago by vipsoft (robocoder)

  • Owner set to vipsoft

comment:5 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

In [1543]:

  • fixes #997 - change data fetch for OFC2 widgets to load widget+data in a single fetch; moved HTML to graph.tpl; move JavaScript to common.js; fixed browser portability bug in findSWFGraph
  • fixes #1020 - only the last chart added to the dashboard can be saved locally (using the right-click pop-up menu to "Save Image Locally"); the footer icon link worked properly
  • fixes #947 - truncated translation string in Flash widget when "no data"; this is now styled consistently with "no data" for tables and tag clouds

related changes:

  • data-file (Flash parameter) renamed to x-data-file; this is used by Widgetize to provide the code to embed Flash OBJECTs
  • add translation strings for Flash detection
  • move some translation strings to JavaScript and enhance getJavascriptTranslations() to always generate 'General' translation strings
Note: See TracTickets for help on using tickets.