View on

Example: charts-custom/custom_color_palette

Output File:

Source File:

(set dpi 400)
(set width 3600px)
(set height 1920px)
(set font-size 14pt)

(set color-palette (#0c0 #c00 #00c))

(legend
  border none
  margin 0
  item (label "Test Color 1" color 1)
  item (label "Test Color 2" color 2)
  item (label "Test Color 3" color 3)
  item (label "Test Color 4" color 4)
  item (label "Test Color 5" color 5)
  item (label "Test Color 6" color 6)
  item (label "Test Color 7" color 7)
  item (label "Test Color 8" color 8))

Run this example:

$ fviz --in examples/charts-custom/custom_color_palette.fvz --out output.svg
Edit this page on GitHub