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

201
Visualizações
billboard.js is not working in redmine plugin

I'm creating a redmine plugin that needs a chart, so I decided for billboard.js. The chart is drawn perfectly but the problem is that the events are not or not fully working such as

  • hover the first legend item highlights both series

  • click the first legend item toggles both series visbility

  • hover the second legend item fades both series (see screenshot)

  • click the second series has no effect (althouh cursor changes)

  • tooltip is not working at all

    screenshot faded series

    <% content_for :header_tags do %>
    <%= javascript_include_tag "d3.v4.min.js",:plugin => 'redmine_performance_charts'%>
    <%= javascript_include_tag"billboard.min.js", :plugin =>redmine_performance_charts'%>
    <%= stylesheet_link_tag "insight.min.css", :plugin => 'redmine_performance_charts' %>
    <script type="text/javascript">
        $(document).ready(function() {
            var chart = bb.generate({
                data: {
                    columns: [
                    ["data1", 300, 350, 300, 0, 0, 120],
                    ["data2", 130, 100, 140, 200, 150, 50]
                    ],
                    types: {
                    data1: "area-spline", // for ESM specify as: areaSpline()
                    data2: "area-spline", // for ESM specify as: areaSpline()
                    },
                    groups: [["data1","data2"]]
                },
                bindto: "#areaChart"
            });
        });
    </script>
    <% end %>
    
    <div id="areaChart"></div>

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