First declare a variable for y-axis, then override max and min values. Please see the example below:
var y = chart.addMeasureAxis("y", "Horsepower"); y.overrideMin = 0; y.overrideMax = 250;
Using overrideMax should work. In your question you write that you tried
x.overrideMax is that a typo in the question? It should be
y.overrideMax for the y axis:
y.overrideMax = 100;
- Dimple.js how to customize range of values on Y-axis from 0 to 100?
- How to customize nvd3's tooltips and remove labels from x axis
- How can I customize the label of X axis, that means the label in X axis is different from the data
- How can I simulate an axis 'growing' from range([0,0]) to my specified range in d3?
- Display only whole values along y axis in d3.js when range is 0-1 or 0-2
- How to select unique values in d3.js from data
- How can I get numeric values instead of Logarthmic values in D3 axis scale?
- How to limit a d3 line-chart from showing the line outside of the range of the axis?
- How to format the Y axis values on Rickshaw Graphs
- Display only values from the data set into X axis ticks
- How to set a nvd3 axis to use strings instead of numerical values ?
- dimple js measure axis values
- How to remove weekends dates from x axis in dc js chart
- D3.js HTML table from JSON file-- How to create empty values so there aren't missing <td> elements?
- How do i specify the axis range in React-Vis
- How to access values from a nest in D3.js?
- setting up d3 axis with KiB, MiB, GiB units from values in bytes
- NVD3: How to get values from tooltip or legend instead of labels?
- How to color SVG image based on value from color range using d3?
- How to create left axis with variable tick interval in tick values and has same distance between tick value
- How to plot x axis values over bars?
- how to display data from 1st point on words on y axis for line chart in d3.js
- How can I specify a d3.js selector using values from a data object?
- Calculate how many std deviations the values of certain keys are from the mean
- How do your write a function that returns values from an array?
- d3js: How to select only x number of values from data
- How to format D3 axis using a unix timestamp with timezone from postgres
- How to customize format of Y value from seconds to min/sec in NVD3.js
- Displaying values associated with each color gradient mapped from range in D3 legend
- How do I make D3 draw the axis from the start of a dataset?
More Query from same tag
- Bring selected arc hovered over by user to front and dim the display of all other arcs
- Why does this syntax work over the other one with d3.json requests?
- How to append the arrow marker dynamically in force layout d3.js
- Create Stacked Bar chart for Timeseries X axis using C3.js
- D3 v4 Force Simulation 'grouped'
- Bar graph on time axis with plottable.js - bar positions
- D3.js table with an associative-array dataset
- D3 Sunburst clip path of text
- How to rearrange the DOM order of svg elements based on their data values in a dynamically changing d3 vis?
- D3 Line Generator Handling Multiple Arrays
- Adding tooltip and x axis, y axis title to D3.js chart
- Concentric arcs in C3.js
- d3 reading data list syntax
- create visualization by word count frequency in D3.js
- dX and dY values undefined when upgrading from d3.js v3 to v4
- D3 new data at .data() makes svg to redraw instead of updating nodes position
- D3 zoom failing on two simultaneous touches
- D3: How to append a pre-loaded svg?
- nvd3 multibar chart state incorrectly updating on legend toggle?
- D3.js: use d3.nest() adding keys dynamically
- Scatterplot keeps copying itself
- D3 Force Graph find most nodes connection
- 3 dimension (X, Y and Z) graph using D3.js
- Translate zoom after domain change
- Best way to use selection.filter to get multiple selections
- D3 scatter plot transform symbols
- d3 map with checkbox filtering
- D3 to create same image with different data
- How do I minimize mercator projection using D3