Skip to content

<gn-dataset-view-chart>

Example

Visualize dataset as a chart from a Metadata Record with gn-dataset-view-chart web component

Source code

html
<gn-dataset-view-chart
  api-url="https://www.geo2france.fr/geonetwork/srv/api"
  proxy-path="https://www.geo2france.fr/mapstore/proxy/?url="
  dataset-id="9da51f58-15c6-4325-82b1-2cf6c8e75d0f"
  aggregation="average"
  x-property="adresse"
  chart-type="line"
  primary-color="#0f4395"
  secondary-color="#8bc832"
  main-color="#555"
  background-color="#fdfbff"
  main-font="'Inter', sans-serif"
  title-font="'DM Serif Display', serif"
  style="height: 500px; width: 100%"
></gn-dataset-view-chart>

Released under the GPL-2.0 license.