Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

257
Visualizações
Missing one bar from my p:barChart when range between the two bars.I googled a lot please answer me or please update any clue on this

I am missing some bars if the bar count is lesser than the other bars. Example : i have C1 = 10 , C2 = 100, C3 = 1000 , C4 = 10000. For this value i am missing C1 bar. How can i fix that one.

                        <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>

Am adding series in my bean as

    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);
        }
}

My java Script:

                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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda