{"id":22898210,"url":"https://github.com/albinodrought/chartjs-plugin-title-click","last_synced_at":"2025-05-07T22:40:29.142Z","repository":{"id":57197194,"uuid":"87961419","full_name":"AlbinoDrought/chartjs-plugin-title-click","owner":"AlbinoDrought","description":"Adds support for basic onClick and onHover events to the chartjs title","archived":false,"fork":false,"pushed_at":"2020-06-26T15:39:57.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T00:47:06.895Z","etag":null,"topics":["chartjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlbinoDrought.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-11T17:28:35.000Z","updated_at":"2020-06-26T15:40:00.000Z","dependencies_parsed_at":"2022-09-16T13:10:31.583Z","dependency_job_id":null,"html_url":"https://github.com/AlbinoDrought/chartjs-plugin-title-click","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Fchartjs-plugin-title-click","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Fchartjs-plugin-title-click/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Fchartjs-plugin-title-click/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Fchartjs-plugin-title-click/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbinoDrought","download_url":"https://codeload.github.com/AlbinoDrought/chartjs-plugin-title-click/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252967969,"owners_count":21833242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chartjs"],"created_at":"2024-12-14T00:29:52.220Z","updated_at":"2025-05-07T22:40:29.118Z","avatar_url":"https://github.com/AlbinoDrought.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chartjs-plugin-title-click\n\nA simple title onClick/onHover plugin for Chart.js\n\n## Configuration\n\nTo configure the title click plugin, add these options to your chart config:\n\n```javascript\n{\n    title: {\n        onClick: function(e, titleBlock) {\n            console.log(\"Clicked title!\");\n        },\n        onHover: function(e, titleBlock) {\n            console.log(\"Hovered title!\");  \n        },\n        onLeave: function(e, titleBlock) {\n            console.log(\"Leaved title!\");  \n        },\n    }\n}\n```\n\n## Installation\n\nTo use, download chartjs-plugin-titleclick.js and reference it in your project.\n\n## Documentation\n\nYou can find documentation for the main plugin, Chart.js, at [www.chartjs.org/docs](http://www.chartjs.org/docs).\n\nThere are some samples for this plugin in the [samples folder](samples).\n\n## License\n\nchartjs-plugin-titleclick.js is available under the [MIT license](http://opensource.org/licenses/MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinodrought%2Fchartjs-plugin-title-click","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbinodrought%2Fchartjs-plugin-title-click","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinodrought%2Fchartjs-plugin-title-click/lists"}