google-chart
google-chart copied to clipboard
fontName ineffective
ready: function () {
this.$.chart.set('options.fontName', "Roboto"); // BUG: this has no effect
this.$.chart.set('options.fontSize', 25);
this.$.chart.set('options.timeline', {showRowLabels: false});
this.$.chart.redraw();
},
With fontName and fontSize set, chart still reverts to Arial.
Same behavior when I initialize options as a polymer property on host.
I think this issue sounds more like a problem with the underlying library? https://github.com/google/google-visualization-issues/issues If an option does not work when specified statically in the HTML, then it definitely would be. e.g. The following should definitely work if there is no bug in the google-visualization library:
<google-chart options='{"fontName": "Roboto"}' ...>
If that works, then your issue might be that no slices are watched on the options object.