How to disable Google Fonts from Google Charts?

I am working with Google Charts and adjusting the design to make it look more beautiful.

But when embedding fonts in google charts, I get an error in the Firebug console that I can't figure out. Firebug shows this error:

"NetworkError: 400 Bad Request - http://fonts.googleapis.com/css?family=hand_of_seanregular%7CInterstateRegular%7CInterstateRegular%7CInterstateRegular%7CInterstateRegular "

The good news is the font is visible. From a bug I think this is forcing the font to be a google font, but I am using the font.

What I am writing is this:

textStyle : { 
    color: '#fff',
    fontName: "InterstateRegular",
    fontSize: 16,
    bold: false,
},

      

Can anyone tell me what mistake I am making?

+3


source to share





All Articles