jsonvisualizationvega-litevegavega-embed

How i apply Times New Roman ,Calibiri font in VegaLite


I want to add more font in VegaLite like-Calibri,Times New Roman in config.font. isuue is that i am not getting same font after defining in config.font. i want to know how i get these font in vegalite
Available font in VegaLite-"sans-serif", "serif", "monospace"

Editor link


Solution

  • The font needs to be installed on the computer of the person viewing. Your syntax is correct - here the font is Algerian for instance.

    enter image description here