-
Sudhakar authored
Sudhakar, Hemanth | Added a config called 'sensitivity' for the point so that click sensitivity can be configured. Right now, the click area of a point is hard coded in the code and in high pixel density devices (iPad) this is not enough. Have modified the data.js (c3_chart_internal_fn.dist) function to calculate the distance between the two points and compare it with the configured value (which is passed to c3.generate method along with other config) Example point: { show: true, r: 5, sensitivity: 20 },
37c6d721
Name |
Last commit
|
Last update |
---|---|---|
extensions | ||
htdocs | ||
spec | ||
src | ||
.editorconfig | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
Gruntfile.coffee | ||
LICENSE | ||
README.md | ||
bower.json | ||
c3.css | ||
c3.js | ||
c3.min.css | ||
c3.min.js | ||
component.json | ||
package.json |