Development guide

Chart <x-chart>

Properties

Property Attribute Type Default Description
title title string ''
map map string ''
chart chart array []
tableToggler table-toggler boolean false
mapData map-data ?array null
mapHighlightTarget map-highlight-target ?string null

Voorbeeldcode:

<x-chart class="h-100"
     :title="$graph['title']"
     :map="$map ? $mapSrc : ''"
     :chart="$graph"
     :table-toggler="!$map"
     :map-data="$map ? $graph['mapData'] : null"
     :map-highlight-target="$map ? $graph['mapHighlightTarget'] : null"
/>
Voorbeeld pagina