Comments (9)
@jsaucedo294 - Been a while, but as I recall, we went with a different charting solution. Sorry!
from chartjs-plugin-crosshair.
Did you enable the interpolate tooltip mode?
tooltips: {
mode: 'interpolate',
intersect: false
},
from chartjs-plugin-crosshair.
from chartjs-plugin-crosshair.
Ah, I forgot that you also need to add
interpolate: true
from chartjs-plugin-crosshair.
I added it like this, but doesn't seem to work, am I putting that in the wrong place?
from chartjs-plugin-crosshair.
You need to add it to your datasets:
options: {
...
data: {
datasets: [
{color: ..., data:..., interpolate: true}
]
}
...
}
from chartjs-plugin-crosshair.
Weird, when I do it that way, the tooltips disappear and still no drag-dot. Any other ideas?
from chartjs-plugin-crosshair.
For reference, I am using ng2 charts to create this graph (if that helps) https://valor-software.com/ng2-charts/#LineChart
from chartjs-plugin-crosshair.
@kadenBeckstead - Were you able to fix your issue? I encountered the same problem with my graph.
from chartjs-plugin-crosshair.
Related Issues (20)
- Spent hours but couldn't get it to working... Help Needed... HOT 2
- Links to Documentation are broken HOT 1
- Get dot on vertical line HOT 1
- Module '"chartjs-plugin-crosshair"' has no exported member 'CrosshairPlugin' and Interpolate HOT 6
- Unhandled Runtime Error TypeError: Cannot read properties of undefined (reading 'syncEventHandler') HOT 1
- error TS2339: Property 'interpolate' does not exist on type 'InteractionModeMap' HOT 1
- Working solution for modern chart.js setup (React) HOT 2
- Compatibility with Chart.js 4.x
- Cannot read properties of undefined (reading 'enabled') at Object.afterDraw HOT 6
- Is this repo still maintained? HOT 2
- Plugin does not support dynamic scale keys
- Disable and enable crosshair HOT 1
- Hi i use plugin chartjs angular, i have error chart.crosshair is undefined how to fix this HOT 1
- How to update zoomed graph datapoints if dataset is is shifted in x axis ?
- Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'syncEventHandler')
- Vertical line not showing in the second chart while hover on the first chart. HOT 3
- s/xscaleType/xScaleType
- What is the status of this library for the Angular wrapper (ng2-charts)?
- Follow Mouse with Pan
- Sync is not working HOT 24
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 chartjs-plugin-crosshair.