Skip to content

Add default font options#1964

Merged
etimberg merged 1 commit into
v2.0-devfrom
feature/1954
Feb 2, 2016
Merged

Add default font options#1964
etimberg merged 1 commit into
v2.0-devfrom
feature/1954

Conversation

@etimberg
Copy link
Copy Markdown
Member

@etimberg etimberg commented Feb 2, 2016

Fixes #1954

Can set default font options by changing

Chart.defaults.global.defaultFontColor = '#666';
Chart.defaults.global.defaultFontFamily = "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif";
Chart.defaults.global.defaultFontSize = 12;
Chart.defaults.global.defaultFontStyle = 'normal';

Some places do not use these options as their defaults are different than the global

  • RadialLinear scale pointLabels fontSize defaults to 10
  • Title font style is 'bold'
  • Tooltip title font style is 'bold'
  • Tooltip footer font style is 'bold'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant