Skip to content
Snippets Groups Projects
Commit 5b51efc7 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Unify ChartJS font configuration in DataPage

parent d4f16ca2
No related branches found
No related tags found
1 merge request!34Rework to use a common font config across graphs and add x-axis and legends on top and bottom of graphs
......@@ -9,6 +9,12 @@ import SectionNavigation from "./SectionNavigation";
import { Sections } from "../helpers/constants";
import PolicySidebar from "./PolicySidebar";
import { Chart as ChartJS} from 'chart.js';
ChartJS.defaults.font.size = 18;
ChartJS.defaults.font.family = 'Open Sans';
ChartJS.defaults.font.weight = '700';
interface inputProps {
title: string,
description?: string,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment