Skip to main content

Visualization API

Project description

EEA App Visualization is the Core API for EEA Daviz. This package was added in order to be able to use EEA Google Charts without EEA Exhibit and viceversa or any other visualization library as a standalone visualization or as part of a bundle package (eea.daviz)

http://eea.github.com/_images/eea.daviz.layers.svg

This package as standalone is just an API, you have to either install eea.daviz bundle, either install one of the available visualization libraries (eea.exhibit, eea.googlecharts, etc) in order to have a working Visualization Tool for your files.

Installation

If you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:

  • Update your buildout.cfg file:

    • Add eea.app.visualization to the list of eggs to install

    • Tell the plone.recipe.zope2instance recipe to install a ZCML slug

    [instance]
    recipe = plone.recipe.zope2instance
    eggs = eea.app.visualization
    zcml = eea.app.visualization
  • Re-run buildout, e.g. with

    $ ./bin/buildout

You can skip the ZCML slug if you are going to explicitly include the package from another package’s configure.zcml file.

Dependencies

  • python-dateutil

  • Zope >= 2.12

  • eea.jquery

  • collective.js.jqueryui

http://eea.github.com/_images/eea.daviz.dependencies.svg

Live demo

  1. http://www.simile-widgets.org/exhibit

  2. Exhibit only: http://www.eea.europa.eu/data-and-maps/data/national-emissions-reported-to-the-unfccc-and-to-the-eu-greenhouse-gas-monitoring-mechanism-3/national-total-excluding-lulucf/ghg_v10_extract.csv

  3. http://code.google.com/apis/chart/

Source code

Latest source code (Zope 2 compatible): - Plone Collective on Github - EEA on Github

Funding

EEA - European Environment Agency (EU)

Changelog

6.0 - (2012-10-08)

  • Upgrade step: Within “Plone > Site setup > Add-ons” click on upgrade button available for eea.app.visualization

  • Feature: Added API for Visualization data source provenance [voineali refs #5490]

  • Change: Merged daviz-view.json and daviz-relateditems.json into one single json file called daviz.json [voineali refs #5449]

  • Bug fix: fixed visualisation tabs layout when many tabs spanning several rows are made. [demarant]

  • Feature: migrate daviz settings from portal_properties to portal_daviz [szabozo0]

  • Bug fix: Fixed columnTypes in table header using :type syntax [voineali refs #5511]

  • Change: Added IVisualizationData and IVisualizationJson adapters API in order to dynamically provide data sources for visualization [voineali refs #5511]

  • Bug fix: Allow changing of column types within Edit Visualization > Data settings if data source is copy & pasted [voineali refs #5511]

  • Feature: Added an easy way to register Google Maps key when using without Plone by adding ‘google_key’ property on context (parents) or by providing a utility (see eea.app.visualization.zopera.utils.py) [voineali refs #5420, #5421]

  • Feature: Added an easy way to plugin CSS/JS resources by simply providing some utilities (see eea.app.visualization.browser.res.interfaces.py) [voineali refs #5420]

  • Feature: Made this package Plone independent (Zope2 minimal requirements) [voineali refs #5420]

4.7 - (2012-08-27)

  • Bug fix: Skip invalid or empty cells on conversion to daviz-json instead of falling back to 0. [voineali refs #5453]

4.6 - (2012-08-10)

  • Upgrade step: Within “Plone > Site setup > Add-ons” click on upgrade button available for eea.app.visualization [voineali refs #5419]

  • Feature: Removed p4a.z2utils dependency [voineali fixes #5419]

  • Feature: Improved UX of daviz regarding errors [szabozo0 #5372]

  • Bugfix: Fixed columns order [szabozo0 #5137]

4.5 - (2012-07-23)

  • Bug fix: Fixed ‘Data settings’ table when there are many columns by adding a bottom scrollbar [voineali refs #5363]

  • Change: Moved ‘Data settings’ tab to the end as it seems it confuses users about the next steps they have to take in order to create new visualizations [voineali refs #5363]

  • Bug fix: Made table’s columns headers editable within ‘Data settings’ panel in order to be able to edit them without having to add an Exhibit View [voineali refs #5363]

4.4 - (2012-07-13)

  • Change: Improved the labelling and display of downloadable data. [demarant]

  • Bug fix: Added list type in ‘Data table (preview)’ in order to be used with Exhibit framework and also fix detection of columns that explicitly define column type in header using ‘:’ syntax (e.g. topics:list) [voineali refs #5316]

  • Bug fix: Fixed auto-detection of numbers by lowering boolean priority [voineali refs #5316]

  • Bug Fix: Fixed i18n missing tags and i18n:domain in .pt files [prospchr refs #5162]

4.3 - (2012-06-12)

  • Bug fix: Fixed ‘unicode’ object has no attribute ‘get’ error on download.json [voineali fixes #5223]

  • Bug fix: fixed markup of HISTORY.txt file [ciobabog refs #5231]

  • Feature: Allow the user to confirm and adjust auto-detected column types [voineali refs #5024]

  • Upgrade step: Within “Plone > Site setup > Add-ons” click on upgrade button available for eea.app.visualization

  • Feature: Added unique URLs for tabs in view mode in order to easily bookmark and share them. Also support browser history (back and forward buttons) [voineali refs #4851]

4.2 - (2012-04-26)

  • Feature: Made Visualization data downloadable (HTML, CSV, TSV, JSON, XML, XML with Schema) [voineali #5038]

  • Bug fix: Use non-@@ version of daviz-relateditems.json in order to easily cache and purge it using plone.app.caching [voineali #5074]

4.1 - (2012-04-11)

  • Bug fix: Invalidate memcache on ObjectModifiedEvent for all IVisualizationEnabled objects [voineali #5074]

  • Bug fix: Use converter fallback for table cells that doesn’t contain valid numbers, dates, etc in order to minimize errors [voineali #4934]

4.0 - (2012-03-30)

  • Initial release: Moved eea.daviz core API to this package in order to make the visualization libraries usable as standalone packages outside eea.daviz bundle [voineali #4996]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eea.app.visualization-6.0.zip (183.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page