Skip to content

Conversation

@stowball
Copy link

nvd3 supports custom IDs, but your Angular version didn't.

From the docs:

Description:

Applies the provided ID as part of the unique class name for the chart. For tooltip, this value is read-only. For charts, you can use this to specify custom CSS for particular charts. For example, if you set the chart to have id 'woot', you can customize the CSS using the selector .nvd3.nv-chart-woot

Input Type(s):

number or string

Default:

A random ID is generated by default

Example(s):

chart.id(123)
chart.id("chart56")

@pertrai1
Copy link

@stowball I don't know if you are still using this, but if so, there is a new repo that is going to continue to maintain development: https://github.com/pertrai1/angular-nvd3-charts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants