nvd3.js Questions

3

Solved

I'm using Nvd3 in an Angular project to draw some charts. I'm using the angular directive from Krispo's (http://krispo.github.io/angular-nvd3/#/). I am showing a pie chart whose labels show the va...
Inscribe asked 18/12, 2014 at 12:40

3

Im relatively new to d3 and nvd3 and wanted to create a simple scatterplot, just like the example but with an ordinal y-axis. So y axis values are categorical strings. This is what I thought I need...
Insider asked 25/6, 2013 at 12:8

4

Solved

Using the stacked area chart as seen in this example http://nvd3.com/ghpages/stackedArea.html Trying to format the y-axis tick labels and the tooltip labels to be integers instead of floats. Tried...
Postlude asked 25/7, 2012 at 19:5

2

Solved

I have a living linechart that updates frequently, see http://jsfiddle.net/cddw17fg/5/ function redraw() { if (!redraw.isGraphShown) { redraw.isGraphShown = true; ... } else { d3.select('#cha...
Fortran asked 22/12, 2015 at 15:21

3

Solved

I often see .datum when an area chart is used. For example: svg = d3.select("#viz").append("svg").datum(data) Are there any rules of thumb for when .datum is needed? var area = d3.svg.area() ...
Lenzi asked 1/11, 2012 at 16:17

1

Solved

I have chart with 3 y-axis and one x-axis and must zoom all 3 axis. ! DEMO Is it possible to set all 3 y-axis with center on 0? And if I zoom chart ticks must stay on same place? Or, m...
Edva asked 15/12, 2015 at 14:38

3

Solved

In d3.js you can set an x axis to use d3.time.scale() then set x.domain([start_date, end_date]) and it will 'fill in' any missing dates that aren't in the data with 0 values. I want to do the same ...
Tallent asked 22/1, 2013 at 14:41

4

Solved

i m using the Discrete Bar chart (NVD3 Library) to display chart in my site. while showing graph everything is fine, but my problem is that how to change the decimal values to integers. values tha...
Wouldbe asked 10/12, 2013 at 16:6

2

Solved

I'm using nvd3.js to generate a pie chart like this: I've been trying to find a way of editing the legend labels so that they also show the value of each segment, like "en: 20%, de: 15%" etc. ...
Eric asked 26/4, 2013 at 9:51

3

Solved

I'm using the stacked area chart in NVD3, but I don't want it to show the three options for Stacked, Stream, and Expanded. Is there a flag I can pass to remove the UI element to switch between th...
Neurotic asked 25/8, 2013 at 18:54

3

I want the actual value of each bar displayed on top in the way it's shown here I am trying this on multi bar chart. Can't find reference anywhere.
Presumptive asked 26/4, 2013 at 11:26

1

Solved

http://plnkr.co/edit/ymrqIOGTBqF6TVMTvC4T?p=preview I have the latest d3 and nvd3 libraries in the plnkr above. When you first view the chart, you will notice that all the timespan ticks 09:00, 08...
Medin asked 30/9, 2015 at 18:29

2

I need to add multiple y-axis to my cumulative Nvd3 chart, does anyone know what part of the library's code I'll need to modify? Even better would be if you have done this yourself and could prov...

1

I am working with nvd3 on rCharts and was wondering if there was a way to customize the axes for the lower view finder graph on a lineWithFocusChart. I have provided a reproducible example below, w...
Alphonsealphonsine asked 17/7, 2015 at 15:48

3

Solved

I am using nvd3.js along with angularjs, here is the code. <nvd3-pie-chart data="exampleData1" class="pie" id="labelTypePercentExample" x="xFunction()" y="yFunction()" showLabels="true" p...
Dorena asked 10/7, 2014 at 11:11

2

Solved

I'm learning nvd3.js to draw charts. From a sample from the site, I pick following simple code to test: chart = nv.models.lineChart() .margin({ left: 100, right: 100 }) //Adjust chart margins to ...
Thaddeusthaddus asked 26/5, 2015 at 10:7

1

Solved

I got a scenario where in I need to display value for every stack in stacked multi-bar chart - nvd3 graph as we can display value in discrete value - nvd3 graph. I understand, 'showvalue' is used ...
Kreisler asked 3/6, 2015 at 13:14

1

Solved

I'm using nvd3 to display line graph. Having a little trouble in formatting the tooltip content This is the line I'm using to format the y-axis text chart1.yAxis.tickFormat(d3.format('.02f')); ...
Berneicebernelle asked 23/7, 2015 at 7:59

2

Solved

I am using NVD3 to display line chart here: http://jsbin.com/xodaxafiti/2/edit?js,output But it seems like NVD3 auto-hide some tickLabels on XAxis, but only those ticks near the edge, i.e. 2-3Oct ...
Amling asked 29/10, 2014 at 7:1

1

Is there a zooming function in nvd3 that I can directly type in my R source code (doesn't matter if it requires javascript as long as I don't have to change nvd3 source code)? I tried the lineWithF...
Adiana asked 16/7, 2015 at 15:4

3

Solved

I'm using angular nvd3 directives. according to the exemple :https://github.com/angularjs-nvd3-directives/angularjs-nvd3-directives/blob/master/examples/lineChart.with.automatic.resize.html <!...
Maidenhair asked 30/6, 2015 at 13:30

1

Solved

I have recently come across the nv.d3 js graph tools that look fantastic. I've got everything working; however.....I am thinking about implementing them in combination with a html5 slide-show for p...
Hypotension asked 6/11, 2013 at 20:22

2

Solved

The x axis likes to repeat dates when there are a limited number of dates. Please see this fiddle: http://jsfiddle.net/skilesare/bFfJ2/1/ nv.addGraph(function() { var data = fakeActivityByDate...
Debenture asked 10/2, 2013 at 15:50

2

I'm using NVD3's lineChart model. I need to force-set the min and max y-axis values relative to the actual ones, e.g.: chart.lines.forceY([min/1.1,max*1.1]); How can I get the current min/max y-...
Fretwork asked 20/11, 2013 at 9:3

2

Solved

i'm new to nvd3 charts. i need a line chart, with string-values on the x-axis the chart should be like this Bar Chart, but i need a line, instead of bars my result looks like this Line Chart The v...
Keon asked 18/5, 2014 at 22:43

© 2022 - 2024 — McMap. All rights reserved.