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

83
Views
¿Cómo cambio los colores de la barra en función de los valores de la barra y le agrego anotaciones? GoogleCharts

El siguiente código es mi código actual para el gráfico de barras, quiero hacer que la barra cambie de color según el valor de la barra (p. ej.) <50 = rojo, 50-70 = amarillo, >70 = verde. Y también agregue una anotación para el valor al lado de la barra. Intenté usar displayAnnotations:True, pero no funcionó para mí. Todavía soy nuevo en la codificación, por lo que agradeceré cualquier ayuda. ¡Gracias! Las columnas para la puntuación son 2.

 var ScorePerSubject= new google.visualization.ChartWrapper({ 'chartType': 'BarChart', 'containerId': 'ScoreChart', 'options': { 'width': 570, 'height': 100, 'legend': 'right', 'cssClassNames': cssClassNames, hAxis: { viewWindowMode:'explicit', viewWindow: { max:100, min:0 } }, }, 'dataTable': ScoreofSubjects, 'view': { columns: [1,2] } }); ScorePerSubject.draw();
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!