I made a line chart with the viewfinder.
Here is my source code
var chart = nv.models.lineWithFocusChart(); // chart.transitionDuration(500); chart.xAxis .tickFormat(d3.format(',g')); chart.xAxis .axisLabel("Date"); chart.xAxis.tickPadding(0); chart.x2Axis .tickFormat(d3.format(',g')); chart.yAxis .tickFormat(d3.format(',.2g')); chart.y2Axis .tickFormat(d3.format(',.2h')); // chart.showYAxis(false);
I want to remove the labels of the y axis (i.e. I do not want the y axis to have no number).
I also want to delete all grid lines.
is there something like chart.yAxis.somethinghere to do this?
thanks
source share