{"id":2612,"date":"2022-09-19T16:08:50","date_gmt":"2022-09-19T07:08:50","guid":{"rendered":"https:\/\/mattarishitemota.com\/?p=2612"},"modified":"2022-09-19T16:17:18","modified_gmt":"2022-09-19T07:17:18","slug":"chart-js%e3%81%aeonhover%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e6%9b%b4%e6%96%b0%e3%81%97%e3%81%a6%e3%82%82%e5%a4%89%e6%9b%b4%e6%a4%9c%e7%9f%a5%e3%81%95%e3%82%8c","status":"publish","type":"post","link":"https:\/\/mattarishitemota.com\/?p=2612","title":{"rendered":"Chart.js\u306eonHover\u30a4\u30d9\u30f3\u30c8\u3067\u30c7\u30fc\u30bf\u66f4\u65b0\u3057\u3066\u3082\u5909\u66f4\u691c\u77e5\u3055\u308c\u306a\u3044"},"content":{"rendered":"\n<p>Chart.js \u3067\u8868\u793a\u3057\u305f\u30b0\u30e9\u30d5\u304b\u3089\u3001\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002<\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u70b9\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u6642\u306b onHover \u30a4\u30d9\u30f3\u30c8\u306e\u4e2d\u304b\u3089\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3078\u901a\u77e5\u3057\u3001\u524a\u9664\u30dc\u30bf\u30f3\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u5b9f\u88c5\u3057\u305f\u3002\u304c\u3001\u306a\u305c\u304b\u30af\u30ea\u30c3\u30af\u3057\u3066\u3082\u524a\u9664\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3002\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b Angular \u3092\u4f7f\u3063\u3066\u304a\u308a\u3001\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30d9\u30f3\u30c8\u306e\u5834\u5408\u306b\u3046\u307e\u304f\u5909\u66f4\u691c\u77e5\u3057\u3066\u304f\u308c\u3066\u3044\u306a\u3055\u305d\u3046\u306a\u6c17\u914d\u3002<\/p>\n\n\n\n<p>\u8abf\u3079\u305f\u3068\u3053\u308d\u3001ChangeDetectorRef \u306e <meta charset=\"utf-8\">detectChanges \u3067\u3044\u3051\u305d\u3046\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/angular.io\/api\/core\/ChangeDetectorRef#detectchanges\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/angular.io\/api\/core\/ChangeDetectorRef#detectchanges<\/a><\/p>\n\n\n\n<p>\u8a66\u3057\u3066\u307f\u308b\u3068\u3001\u524a\u9664\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\uff01<\/p>\n\n\n\n<p>\u304c\u3001\u30af\u30ea\u30c3\u30af\u3057\u305f\u6642\u306b\u8868\u793a\u3057\u3066\u3044\u308b Angular Material \u306e Dialog \u304c\u5fae\u5999\u306a\u52d5\u304d\u3092\u3059\u308b\u3002MAT_DIALOG_DATA \u3067\u6e21\u3057\u3066\u3044\u308b\u306f\u305a\u306e\u30c7\u30fc\u30bf\u304c\u6e21\u305b\u3066\u3044\u306a\u304b\u3063\u305f\u308a\u3001mat-dialog-close \u3092\u4f7f\u3063\u305f\u30ad\u30e3\u30f3\u30bb\u30eb\u30dc\u30bf\u30f3\u304c\u53cd\u5fdc\u3057\u306a\u304b\u3063\u305f\u308a&#8230;<\/p>\n\n\n\n<p>Angular DevTools \u3067\u898b\u3066\u307f\u308b\u3068\u3001Dialog \u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30c4\u30ea\u30fc\u306b\u8868\u793a\u3055\u308c\u306a\u3044\u3002\u4ed6\u306e\u7b87\u6240\u3067\u4f7f\u3063\u3066\u3044\u308b Dialog \u3067\u306f\u3061\u3083\u3093\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u3060\u304c&#8230;<\/p>\n\n\n\n<p>\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u306a\u30fc\u3068\u601d\u3044\u3064\u3064\u3001\u5225\u306e\u30d6\u30ed\u30b0\u3067\u898b\u305f ngZone \u306e run \u3092\u8a66\u3059\u3068\u3061\u3083\u3093\u3068\u52d5\u3044\u305f\uff01<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-ts\" data-lang=\"TypeScript\" data-line=\"4\"><code>  constructor(private dialog: MatDialog, private ngZone: NgZone) { }\n\n  onChartClick(dataIndex: number) {\n    this.ngZone.run(() =&gt; {\n      this.clickedDataIndex = dataIndex;\n    });\n  }\n<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Chart.js \u3067\u8868\u793a\u3057\u305f\u30b0\u30e9\u30d5\u304b\u3089\u3001\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002 \u30c7\u30fc\u30bf\u70b9\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u6642\u306b onHover \u30a4\u30d9\u30f3\u30c8\u306e\u4e2d\u304b\u3089\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3078\u901a\u77e5\u3057\u3001\u524a\u9664\u30dc\u30bf\u30f3\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u5b9f\u88c5\u3057\u305f\u3002\u304c\u3001\u306a\u305c\u304b\u30af\u30ea\u30c3\u30af <span class=\"more-text\">&hellip;<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[9],"tags":[23,33],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2615,"url":"https:\/\/mattarishitemota.com\/?p=2615","url_meta":{"origin":2612,"position":0},"title":"Chart.js\u3067\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\u8868\u793a\u6642\u306b\u30a4\u30d9\u30f3\u30c8\u51e6\u7406\u3057\u305f\u3044","author":"Owner","date":"2022\u5e749\u670819\u65e5","format":false,"excerpt":"Chart.js \u3067\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3057\u3066\u3044\u3066\u3001\u30b0\u30e9\u30d5\u4e0a\u306e\u70b9\uff08Point\uff09\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u6642\u306b\u3001\u305d\u306e\u30c7\u30fc\u30bf\u3092\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mattarishitemota.com\/wp-content\/uploads\/2022\/09\/d5da8785ea31b3e1b947f604d0df1c4f.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1471,"url":"https:\/\/mattarishitemota.com\/?p=1471","url_meta":{"origin":2612,"position":1},"title":"Angular\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\uff08\u5c71\u7530 \u7965\u5bdb\uff09","author":"Owner","date":"2021\u5e741\u67081\u65e5","format":false,"excerpt":"\u30aa\u30b9\u30b9\u30e1\u5ea6\u2605\u2605 Angular 4 \u306a\u306e\u3067\u5c11\u3057\u53e4\u3044\u304c Angular \u672c\u304c\u3042\u307e\u308a\u306a\u3044\u306e\u3068\u3001Amzon\u2026","rel":"","context":"\u8aad\u66f8\u30e1\u30e2","block_context":{"text":"\u8aad\u66f8\u30e1\u30e2","link":"https:\/\/mattarishitemota.com\/?cat=6"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2237,"url":"https:\/\/mattarishitemota.com\/?p=2237","url_meta":{"origin":2612,"position":2},"title":"\u3044\u3064\u306e\u9593\u306b\u304bAngury\u304c\u4f7f\u3048\u306a\u304f\u306a\u3063\u3066\u3044\u308b","author":"Owner","date":"2021\u5e749\u670825\u65e5","format":false,"excerpt":"Angular\u306e\u958b\u767a\u3067\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u72b6\u614b\u3092\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u306e\u306b\u4fbf\u5229\u306aAngury\u62e1\u5f35\u6a5f\u80fd\u304c\u898b\u5f53\u305f\u3089\u306a\u304f\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2601,"url":"https:\/\/mattarishitemota.com\/?p=2601","url_meta":{"origin":2612,"position":3},"title":"ngx-chartjs\u3067time\u30b9\u30b1\u30fc\u30eb\u3092\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u3001adapter\u304c\u5fc5\u8981\u3068\u306e\u30a8\u30e9\u30fc","author":"Owner","date":"2022\u5e749\u670819\u65e5","format":false,"excerpt":"\u516c\u5f0f\u306e\u30b3\u30fc\u30c9\u30b5\u30f3\u30d7\u30eb\u3067\u306f X \u8ef8\u306f\u30ab\u30c6\u30b4\u30ea\u30b9\u30b1\u30fc\u30eb\u306b\u306a\u3063\u3066\u3044\u308b\u3002 https:\/\/github.co\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mattarishitemota.com\/wp-content\/uploads\/2022\/09\/f30e6cd318ca4aa61ea271f4a7757fbb.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mattarishitemota.com\/wp-content\/uploads\/2022\/09\/f30e6cd318ca4aa61ea271f4a7757fbb.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mattarishitemota.com\/wp-content\/uploads\/2022\/09\/f30e6cd318ca4aa61ea271f4a7757fbb.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mattarishitemota.com\/wp-content\/uploads\/2022\/09\/f30e6cd318ca4aa61ea271f4a7757fbb.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2567,"url":"https:\/\/mattarishitemota.com\/?p=2567","url_meta":{"origin":2612,"position":4},"title":"AngularFire \u3067 Realtime Database \u3092\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068 NullInjectorError","author":"Owner","date":"2022\u5e748\u670818\u65e5","format":false,"excerpt":"ng add @angular\/fire \u3057\u3066\u8868\u793a\u3055\u308c\u305f\u30e1\u30cb\u30e5\u30fc\u3067 Realtime Databas\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":611,"url":"https:\/\/mattarishitemota.com\/?p=611","url_meta":{"origin":2612,"position":5},"title":"Angular\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\uff085.2.11\u21926.x\uff09","author":"Owner","date":"2020\u5e744\u67084\u65e5","format":false,"excerpt":"4\u21925\u306b\u5f15\u304d\u7d9a\u304d\u3001Angular Update Guide \u306b\u5f93\u3044\u5bfe\u5fdc\u3057\u3066\u307f\u308b\u3002 https:\/\/u\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/posts\/2612"}],"collection":[{"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2612"}],"version-history":[{"count":7,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/posts\/2612\/revisions"}],"predecessor-version":[{"id":2637,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/posts\/2612\/revisions\/2637"}],"wp:attachment":[{"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}