Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Hi,
I think there's no option for setting Google chart's title position at the moment. However, you could put this javascript function at the end of your page to adjust them yourself:
<script>
setTimeout(function() {
var texts = document.querySelector('#googleLineChart').querySelectorAll('text'); //replace "googleLineChart" with your chart's name/id
console.log(texts);
for (var i=0; i<texts.length; i+=1) {
var text = texts[i];
if (text.textContent.trim() == "My Chart Title") { //replace "My Chart Title" with your chart's title
text.setAttribute("text-anchor", "middle");
text.setAttribute("x", "50%");
break;
}
};
}, 5000);
</script>
Let us know how it works for you. Thanks!
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo