Moved code to generate ticks and format function into d3-rendering/tick-marks...
Moved code to generate ticks and format function into d3-rendering/tick-marks as this could potentially be used for the DV graph. There is a full set off tests for it.
Showing
- assets/src/scripts/components/hydrograph/axes.js 12 additions, 237 deletionsassets/src/scripts/components/hydrograph/axes.js
- assets/src/scripts/components/hydrograph/axes.spec.js 0 additions, 349 deletionsassets/src/scripts/components/hydrograph/axes.spec.js
- assets/src/scripts/d3-rendering/axes-spec.js 0 additions, 100 deletionsassets/src/scripts/d3-rendering/axes-spec.js
- assets/src/scripts/d3-rendering/tick-marks.js 171 additions, 0 deletionsassets/src/scripts/d3-rendering/tick-marks.js
- assets/src/scripts/d3-rendering/tick-marks.spec.js 288 additions, 0 deletionsassets/src/scripts/d3-rendering/tick-marks.spec.js
- assets/src/scripts/index.spec.js 5 additions, 7 deletionsassets/src/scripts/index.spec.js
- assets/src/scripts/utils.js 0 additions, 17 deletionsassets/src/scripts/utils.js
- assets/src/scripts/utils.spec.js 1 addition, 24 deletionsassets/src/scripts/utils.spec.js
Loading
Please register or sign in to comment