I'm currently facing an issue with the spacing between the "Applications" and the data in my chart. In Chart 1, there is no space between the colon and the integer value. I would like it to resemble Chart 2 which shows the desired spacing.
(As a new user, I am unable to upload images of the charts)
Chart 1:
2011
Applicaitons:10 <-- no spacing
Chart 2: (sourced from Google)
25
Cats: 42 <-- spacing
I am populating the data dynamically, unlike the example provided by Google charts. Below is the code snippet:
public string GetAppFiledPatIssuedByYear(DateTime? startDate, DateTime? endDate)
{
// Code logic
}
***** Javascript function where the code is executed *****
function getAppFiledPatentsIssuedByYear() {
// Retrieve data and call drawing function
}
function drawAppFiledPatIssuedByYearChart(json) {
// Draw chart using google.visualization arrayToDataTable method
}
The backend returns the data as a string, which is then converted to a JSON object and passed back to the frontend in the JS file.
Link to Google Datapoint
How can I achieve the desired spacing between "Applications:10" and "Applications: 10"?