Comments (4)
Hello Ivan,
could you please create an example in jsfiddle ?
regards
Jürgen
On Fri, Sep 19, 2014 at 2:04 PM, Ivan Tsybulin [email protected]
wrote:
Hello.
Please take a look at the following jsfiddle where a fixed dataset (drawn
with lines) is covered by the same dataset (drawn with points, editable).
There's no way to move points with mouse. Works well when datasets are
reversed.
http://jsfiddle.net/jumjum/jUrG7/I suppose it is due to early exit when looking up for point under mouse.
—
Reply to this email directly or view it on GitHub
#5.
from jumflot.
Sorry, here's the right example
http://jsfiddle.net/sdrj2bsw/
from jumflot.
As a workaround one can override findItem
method of series.nearBy
option
series: { nearBy: {
findItem: function (mouseX,mouseY,i,serie) {
if (!serie.editable) return null;
return findNearbyItemDefault(mouseX, mouseY, i, serie);
}
} }
The updated fidlle is here: http://jsfiddle.net/sdrj2bsw/1/
from jumflot.
Great, you found a solution.
Right now I'm working on another project (small ARM computer with SPI,I2C,
GPIO, ADC, DAC etc. with a kind of Javascript for processes,
www.espruino.com)
Therefore my time for flot is limited.
regards
Jürgen
On Fri, Sep 19, 2014 at 3:19 PM, Ivan Tsybulin [email protected]
wrote:
As a workaround one can override findItem method of series.nearBy option
series: { nearBy: {
findItem: function (mouseX,mouseY,i,serie) {
if (!serie.editable) return null;
return findNearbyItemDefault(mouseX, mouseY, i, serie);
}
} }The updated fidlle is here: http://jsfiddle.net/sdrj2bsw/1/
—
Reply to this email directly or view it on GitHub
#5 (comment).
from jumflot.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jumflot.