Disable default font for charts

More
6 years 9 months ago #6559 by Marc Diez
Hi, I've just installed vChart and been testing it for a couple of days.

I'd want to use my template's default Google font, but I see that both font-family and font-size is hardcoded into each parameter:
Code:
<text text-anchor="middle" x="520.3333333333333" y="281.9" font-family="Arial" font-size="14" stroke="none" stroke-width="0" fill="#222222">June</text>

Is there any way to disable this?

Please Log in to join the conversation.

More
6 years 9 months ago #6560 by Daniel
Hi,
Please let me know which particular text you want to change the font for?

Thanks
Daniel

Please Log in to join the conversation.

More
6 years 9 months ago #6561 by Marc Diez
I'd like to use Poppins .

Thx!

Please Log in to join the conversation.

More
6 years 9 months ago #6562 by Daniel
I meant where do you want to apply the mentioned font. On the legend, X Axis, Y Axis?

Thanks
Daniel

Please Log in to join the conversation.

More
6 years 9 months ago - 6 years 9 months ago #6563 by Marc Diez
Well, I'd like all the text on the charts to be my template font. I'm using stacked charts and pie charts.

I've attached a sample of how I want it, manually made with the dev tools on Firefox by leaving blank the "font-family" attribute on <text> tags.
Attachments:
Last edit: 6 years 9 months ago by Marc Diez.

Please Log in to join the conversation.

More
6 years 9 months ago #6566 by Daniel
All the formatting options including font family/style are there under Formatting Section on Add/Edit Chart page. Please check...

Thanks
Daniel

Please Log in to join the conversation.

Cron Job Starts