novus / nvd3

A reusable charting library written in d3.js
http://nvd3.org/
Other
7.22k stars 2.14k forks source link

LinePlusBarChart: y1 and y2 axis are above the bars #1979

Open camilosampedro opened 7 years ago

camilosampedro commented 7 years ago

Good day,

This is happening to me:

captura de pantalla_2017-03-02_09-42-10

The bars are above the y axis. I don't know if the environment has something to do here, I'm using semantic-ui (The chart is inside a semantic-ui card) within an angular2 application (The chart is inside an angular2 component) in NodeJS.

I have tried to use the Line Plus Bar Chart in standalone and the problem doesn't appear there:

captura de pantalla_2017-03-02_09-48-04

The last bar is below the axis as expected!

captura de pantalla_2017-03-02_09-49-18

Thank you and have a good day

bgth commented 7 years ago

Hi, Can you please share a jsfiddle example for the issue? Also are you using angular-nvd3 or nvd3? If its angular-nvd3, you may have to approach that forum.

camilosampedro commented 7 years ago

I'm very sorry, I didn't know there was an angular2-nvd3 package. I will then try to use this chart with angular2-nvd3 and tell you if it works.

At the moment, it is built using just angular2, nvd3 and semantic-ui.

I will try to provide a jsfiddle with the actual code that doesn't work.

Thank you again.

bgth commented 7 years ago

hi @camilosampedro, I was just asking if you are using angular-nvd3. If you are using nvd3 package only, then please share a jsfiddle.