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

254
Views
Falta una barra de mi p:barChart cuando el rango entre las dos barras. Busqué mucho en Google, por favor respóndame o actualice cualquier pista sobre esto

Me faltan algunas barras si el número de barras es menor que las otras barras. Ejemplo: tengo C1 = 10, C2 = 100, C3 = 1000, C4 = 10000. Para este valor me falta la barra C1. ¿Cómo puedo arreglar eso?

 <p:barChart id="a" extender="eBar" xaxisAngle="-30" xaxisLabel="Reasons" yaxisLabel="Count" value="#{aBean.verificationTopCertList }" style="width:608px;height:280px;cursor: pointer" barPadding="25" seriesColors="FF0000,FFCC00,0000CC,FF0099,"> </p:barChart>

Estoy agregando series en mi frijol como

 private void createVerificationCertBar() { verificationCertBar = new CartesianChartModel(); ChartSeries iVerCert = new ChartSeries(); try { FraudInterdictionServer server = new FraudInterdictionServer(); verificationTopCertList = server.getVerifyCertStats(); int Top1oCert = 10; for (int i = 0; i < Top1oCert; i++) { ChartSeries verCert = new ChartSeries(); String cert = verificationTopCertList.get(i).getVerficationCert(); verCert.setLabel(cert); verCert.set(cert,verificationTopCertList.get(i).getNoOfCallsVerified()); verificationCertBar.addSeries(verCert); } }catch (Exception e) { iVerCert.set("No Data",0); verificationCertBar.addSeries(iVerCert); } }

Mi secuencia de comandos Java:

 function eBar() { this.cfg.seriesDefaults={ renderer:$.jqplot.BarRenderer, rendererOptions: { barWidth:20, barPadding: 4, barMargin: 5, } }, this.cfg.highlighter = { show: true, useAxesFormatters: false, tooltipAxes: 'y', yvalues: '1', }, this.cfg.axes.xaxis.tickOptions = { textColor : '#000000', fontSize:'8pt', angle:0, show:false, }, }
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!