Having trouble adjusting the font size of a gauge created with the Google Chart API.
I'm unsure how to use CSS to change the font size of the gauge.
Here is the HTML code:
<div class="center-block" style="margin-top: 8%" >
<div id="gauge_chart"
[chartData]="pie_ChartData"
[chartOptions]= "pie_ChartOptions"
chartType="Gauge" GoogleChart>
</div>
</div>
https://i.sstatic.net/riEHi.png I have been trying to reduce the font size using the following lines of CSS, but it's not working.
svg:first-child > g > text[text-anchor~=middle]{
font-size:9px;
}
If anyone could offer some assistance, I would greatly appreciate it.
Thank you in advance.