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

236
Views
Biblioteca flotante configurando el eje y a min 0 y max 24

¿Cómo puedo configurar mi eje y para que esté en el rango de 0 a 24?

Aquí está el código que tengo.

 j$.plot(j$("#placeholder"),[d1],{ xaxis: { mode: "time", min: (new Date("2010/11/01")).getTime(), max: (new Date("2011/02/01")).getTime() } }, {yaxis: { min:0, max:24 } }; };

xaxis parecía funcionar, pero cuando agregué el eje y no funciona.

Aparte de esto, d1 contiene la cadena que se envía desde Salesforce.

por ejemplo, d1 se mantiene

 [1294041600000,14.00],[1294041600000,14.50],[1294041600000,15.00],[1293955200000,12.00]

No puedo ver el gráfico, actualmente tengo el eje y que muestra solo el rango -1 a 1, asumo que esta podría ser la razón por la que no veo la línea.

Gracias

Prady

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

El problema del eje y fue resuelto. Aquí está el código

 j$.plot(j$("#placeholder"), [d1], { xaxis: { mode: "time", min: (new Date("2010/11/01")).getTime(), max: (new Date("2011/02/01")).getTime() }, yaxis: { min:0, max: 24, tickSize: 5 } });
over 4 years ago · Santiago Trujillo Report
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!