Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
edw1o14366y@M1sf3t
Edit: Dunno how your code could help me, I don't want to hide the elements, just show a tooltip and be able to click on the chart time frame and go to url, like the chart from the link -
edw1o14366y@karma
Licenses are a little bit pricy xD
But thanks for the info, It looks how I want it to look and I think you can add click events to the charts. -
ditht1006yI think you can implement this with chartjs callbacks that hook into the tooltip generation
https://chartjs.org/docs/latest/...
What do you mean by "clicking on them"? Whatever "them" means here, you should bind the url of whatever it is you are clicking to the url that corresponds to the currently selected tooltip,. -
ditht1006ySomeone should really make chart libraries for vue and react so you can easily bind the chart components to a parent vue component that can control the data easily. Looking at the price of highcharts, this idea could probably make some good cash
Related Rants
-
linuxxx105HUGE FUCKING DILEMMA FOR ME. I will probably get the chance of choosing a company phone soon (as in, next few...
-
vortexman10018Got a job interview today at my favorite company. Wish me luck.
-
AleCx0417Dear diary: It is 2020 and I still don't know shit about docker :3 I don't know how bad this is.....
Hey guys, need a lil help from any front-ender, I need to create a chart that allows me to show tooltips for specific timeframes and let's me click them and go to the specific url for that timeframe, I know this isn't SO but from my past experiences, I would rather ask here. I have looked at chart.js and other libraries but I'm not sure If chart.js has those capabilities.
I would like to achieve something like this : https://treo.sh/demo/1/...
Any tips are welcomed :)
question
charts
halp