How Do I Center Numbers In A Table From Google Visualization Api?
I am currently trying to help put together a website to display a lot of data from Google Sheets. In this I figured I would use the Google Visualization API to format the data so t
Solution 1:
Well, this happens because even though your cell is displayed with your custom class, as its a number cell it also gives the cell a google-visualization-table-td-number
class, which sets the text-align:right
. To fix it, just change your style to ovewrite it: text-align: center !important;
Post a Comment for "How Do I Center Numbers In A Table From Google Visualization Api?"