ng2-nvd3 provides angular 2+ components for nvd3.
Questions tagged [ng2-nvd3]
26 questions
0
votes
1 answer
angular2-nvd3 error: groups.watchTransition is not a function
I've an angular website with some charts made with angular2-nvd3. i recently upgrade all my dependencies and since then I have this errors:
ERROR TypeError: groups.watchTransition is not a function
at SVGGElement. (nv.d3.js:13130)
…

valerossi46
- 153
- 1
- 3
- 10
0
votes
1 answer
NVD3: Is it possible to display icons on the graph?
I'm using the lineChart of NVD3 to give an evolution overview of patients' response to a treatment.
Below is an example of what I'm trying to achieve; adding icons (using here font awesome) on certain entries of a series (see the smiley) :
Before…

Jem
- 6,226
- 14
- 56
- 74
0
votes
1 answer
how to get json data in angular5
this is my service.ts
import { Injectable } from '@angular/core';
import { Http, Response } from '@angular/http';
import { Observable } from 'rxjs/Rx';
import 'rxjs/add/operator/map';
import { Headers } from '@angular/http';
@Injectable()
export…

ram
- 11
- 1
- 1
- 4
0
votes
0 answers
Change font-family in ng2-nvd3 (Angular2)
I'm trying to change the general font-family or atleast the labels used by nvd3 for Angular2 to Open Sans. Any approach using CSS hasn't worked so far. Any ideas?

Banana Joe
- 51
- 2
0
votes
5 answers
ng2-nvD3 on Angular2 2.1.1
I'm trying to use ng2-nvd3 (https://github.com/krispo/ng2-nvd3) in an Angular2 project (core v2.1.1) but it's not working.
I've put nvD3 in the declarations in my @MgModule:
declarations: [
...
TestComponent,
nvD3,
…

Stu
- 2,426
- 2
- 26
- 42
0
votes
1 answer
Working with d3 & nvd3 on an Angular2 final project w/angular-cli beta 15
I am trying to get the combo d3, nvd3 and ng2-nvd3 to work on a Angular 2 project with angular-cli 1.0.0-beta.15.
I have installed the packages with the corresponding @types via npm, package.json looks like this (irrelevant packages omitted):
…

Sefi Ninio
- 427
- 1
- 5
- 12
0
votes
1 answer
set tickValues for y1Axis in linePlusBarChart in ng2-nvd3
this.options = {
chart: {
type: 'linePlusBarChart',
height: 500,
margin: {
top: 30,
right: 75,
bottom: 50,
left: 75
},
bars: {
…

MD. Jahidul Islam
- 635
- 5
- 20
0
votes
2 answers
angular2 ng2-nvd3: could not load the module
I am trying to add the example into angular2-quickstart project. In systemjs.config.js define a map ng2-nvd3
map: {
// our app is within the app folder
app: 'app',
...
// other libraries
'ng2-nvd3': …

beewest
- 4,486
- 7
- 36
- 63
0
votes
1 answer
Adding nvd to map in systemjs
I have an angular2 application where i wish to use rickshaw.
This requires the following:
d3, nvd3 and ng2-nvd3.
I have these in my lib folder:
And my systemjs.config.js map looks as follows:
However, when run this i get an error:
telling me…

kodeaben
- 1,829
- 3
- 24
- 33
0
votes
2 answers
angular 2 ng2-nvd3 undefined directive nvD3
I am trying to implement graph as in this plunker: plunker
Here is the github code: github
But I get an error:
Uncaught (in promise): Unexpected directive value 'undefined' on the View of component.
@Component({
selector: 'main',
directives:…

Shalmali Jain
- 39
- 1
- 6
-2
votes
1 answer
How to combine Box plot graph with line graph in nvd3
enter image description here
Hi,
I have got a requirement to combine Boxplot chart with the line charts. I am using nvd3 library. I want to add two line charts in the same graph, one line will tell the avg and other will tell the current status. Can…

Dhiraj Narayan Singh
- 37
- 1
- 6