-
-
Notifications
You must be signed in to change notification settings - Fork 1
Block chart
Sébastien Moulène edited this page May 15, 2023
·
3 revisions
Displays a chart
https://github.com/hugolify/hugolify-theme/blob/main/layouts/partials/blocks/templates/chart.html
https://github.com/hugolify/hugolify-theme/blob/main/assets/sass/components/blocks/_chart.sass
blocks:
- type: chart
heading: ""
surtitle: ""
title: ""
text: ""
grid: ""
chart:
type: ""
title: ""
backgroundColor: ""
borderColor: ""
items:
label: ""
value: ""
color: ""
data:
json: ""
background: false
- Chart
object
- heading
object
- surtitle
string
- title
string
- text
string
- surtitle
- grid
select
[small, medium, large, full] - chart
object
- type
select
[bar, line, pie, polarArea, radar] - title
string
- backgroundColor
color
- borderColor
color
- items
list
- label
string
- value
number
- color
color
- label
- data
code
- json
string
- json
- type
- background
boolean
- heading