Use material icons along with text in axes label

๐Ÿ‘:0

Based on the video, I had provided font-family for the ticks on y axis. However, the order of these values had an impact on how the data was processed.
Instead of

ticks: {
           autoSkip: false,
           font: {
                    family: "'Material Icons', 'Material Icons Outlined', 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif",
                    size: 12
                 }
        }

I needed to use:

ticks: {
           autoSkip: false,
           font: {
                    family: "'Source Sans Pro', 'Helvetica', 'Arial', sans-serif, 'Material Icons', 'Material Icons Outlined',",
                    size: 12
                 }
        }

Leave a comment