Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

366
Views
Google NumberFormat With Pattern "Too many percent/permill"

I am trying to use Google chart's table chart and need to format some of the columns to decimal. When I try to use the google.visualization.NumberFormat to set the pattern to #,##0.0%;(#,##0.0%) I get an the Uncaught Error: Too many percent/permill error message.

I am on version 43 at the moment, and am unfortunately tied to using that version.

Here is a snippet of my formatter

new google.visualization.NumberFormat({
     negativeColor: 'black',
     pattern: "#,##0.0%;(#,##0.0%)"
})

I save all of the column formatters in an array and then apply them to the table at the end. This is the line of code that is throwing the exception:

columnFormatters.forEach(element => element.ColFormatter.format(dataTable, element.Ind));

I can use some of the other options to add the percent suffix, but I am also trying to let the table do the formatting of the data into a percent. I'd prefer not to have to do that on my end. Has anyone had this issue before?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!