Skip to content

Plotly Charts and Plotly Chart Editor integration with Volto

License

Notifications You must be signed in to change notification settings

eea/volto-plotlycharts

Repository files navigation

volto-plotlycharts

Releases

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Volto add-on

Features

Plotly Charts and Plotly Chart Editor integration with Volto

  • Exports a PlotlyChart Widget, can be used in regular volto edit forms
  • Registers a VisualizationView component for a content type named 'visualization'. eea.restapi has a behavior to implement such a content type.

Plotlycharts

Upgrade

  • Version ^9.0.0 requires ^eea.api.dataconnector@9.0

  • Version ^8.0.0 requires ^eea.api.dataconnector@7.0

  • Version ^6.0.0 requires ^eea.api.dataconnector@4.4

Getting started

Try volto-plotlycharts with Docker

  git clone https://github.com/eea/volto-plotlycharts.git
  cd volto-plotlycharts
  make
  make start

Go to http://localhost:3000

Add volto-plotlycharts to your Volto project

  1. Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone

    docker compose up backend
  2. Start Volto frontend

  • If you already have a volto project, just update package.json:

    "addons": [
        "@eeacms/volto-plotlycharts"
    ],
    
    "dependencies": {
        "@eeacms/volto-plotlycharts": "*"
    }
  • If not, create one:

    npm install -g yo @plone/generator-volto
    yo @plone/volto my-volto-project --canary --addon @eeacms/volto-plotlycharts
    cd my-volto-project
    
  1. Install new add-ons and restart Volto:

    yarn
    yarn start
    
  2. Go to http://localhost:3000

  3. Happy editing!

Release

See RELEASE.md.

How to contribute

See DEVELOP.md.

Copyright and license

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

See LICENSE.md for details.

Funding

European Environment Agency (EU)