Skip to content

Add options to disable interactive for each serie of linePlusBarChart #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2014

Conversation

Maxwell2022
Copy link
Contributor

This is implementing a feature discuss in issue #195

cmaurer added a commit that referenced this pull request May 21, 2014
Add options to disable interactive for each serie of linePlusBarChart
@cmaurer cmaurer merged commit d29424a into angularjs-nvd3-directives:master May 21, 2014
@krysthian
Copy link

krysthian commented Oct 4, 2017

@Maxwell2022 , I need it for a multiChart but I saw that it doesn't exist. How do I implement that?

HTML
<nvd3 options="options" data="data" class="with-3d-shadow with-transitions"></nvd3>

Angular:
OPTIONS
$scope.options = { chart: { type: 'multiChart', height: 250, margin: { top: 20, right: 20, bottom: 40, left: 55 }, color: d3.scale.category10().range(), useInteractiveGuideline: false, transitionDuration: 500, xAxis: { axisLabel: 'Data da análise', tickFormat: function (d) { return daysOfReportFQ[d]; }, rotateLabels: -1 }, yAxis1: { axisLabel: 'kV', tickFormat: function (d) { return d3.format('.01f')(d); }, axisLabelDistance: -10 }, yDomain1: [0.0, 100.0], showLegend: false, } };

DATA
I've a object that the data is in :

`data [
{
key: 'Rigidez Dielétrica', //key - the name of the series.
values: rigidez, //values - represents the array of {x,y} data points
type: "line",
color: '#5A5A5A', //color - optional: choose your own line color.
"yAxis": 1
},
{
key: 'Rigidez Dielétrica LI', //key - the name of the series.
values: rigidezLI, //values - represents the array of {x,y} data points
type: "area",
color: '#FFFF00', //color - optional: choose your own line color.
"yAxis": 1
},
{
key: 'Rigidez Dielétrica LS', //key - the name of the series.
values: rigidezLS, //values - represents the array of {x,y} data points
type: "area",
color: '#00FF00', //color - optional: choose your own line color.
"yAxis": 1
}

            ];`

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.

3 participants