Title: Add attributes to customize hover text font · Issue #102 · plotly/plotly.js · GitHub
Open Graph Title: Add attributes to customize hover text font · Issue #102 · plotly/plotly.js
X Title: Add attributes to customize hover text font · Issue #102 · plotly/plotly.js
Description: The font attribute doesn't affect the text in the "hoverlayer" div. At the moment, it doesn't look like there's a way to specify that hover text font family. Here's a minimal example. The font for the axis labels gets changed, but not fo...
Open Graph Description: The font attribute doesn't affect the text in the "hoverlayer" div. At the moment, it doesn't look like there's a way to specify that hover text font family. Here's a minimal example. The font for ...
X Description: The font attribute doesn't affect the text in the "hoverlayer" div. At the moment, it doesn't look like there's a way to specify that hover text font family. Here's a mini...
Opengraph URL: https://github.com/plotly/plotly.js/issues/102
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add attributes to customize hover text font","articleBody":"The font attribute doesn't affect the text in the \"hoverlayer\" div. At the moment, it doesn't look like there's a way to specify that hover text font family.\n\nHere's a minimal example. The font for the axis labels gets changed, but not for the hover text.\n\n```\n\u003chtml>\n\u003cbody>\n \u003cdiv id=\"plotly-div\">\u003c/div>\n\u003cscript src=\"https://cdn.plot.ly/plotly-latest.min.js\">\u003c/script>\n\u003cscript>\n\nvar trace1 = { x: [0, 1], y: [4, 5] };\nvar trace2 = { x: [0, 1], y: [4, 5] };\nvar data = [trace1, trace2];\nvar layout = { \"font\": { \"family\": \"Comic Sans MS\" } };\nPlotly.plot('plotly-div', data, layout);\n\u003c/script>\n\u003c/body>\n\u003c/html>\n```\n\nNote: I used Comic Sans MS because it's obvious, not because I actually want it in my chart :-)\n\nSemi-related: The \"font\" property is mislabeled as \"textfont\" in the [docs](https://plot.ly/javascript/reference/#scatter-textfont-family)). \"textfont\" doesn't appear to do anything.\n","author":{"url":"https://github.com/mheilman","@type":"Person","name":"mheilman"},"datePublished":"2015-12-10T17:05:51Z","url":"https://github.com/plotly/plotly.js/issues/102"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aa6ac39c-016c-39d5-d87d-47edb387f5ce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D788:38E318:2AE0D94:364CA0F:6B01DFF4 |
| html-safe-nonce | 208ed40ccfa2bcacf6e9dcbe6202ed1a6dbabc8a566a614c54190b2fa00b9117 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzg4OjM4RTMxODoyQUUwRDk0OjM2NENBMEY6NkIwMURGRjQiLCJ2aXNpdG9yX2lkIjoiMjIzODg3MTUwODY1MzAzOTYwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 50f6db2a86831765d87c49fd1eb4073182cf360d46808d0471ecd8311c0655ad |
| hovercard-subject-tag | issue:121533461 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/102/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f0540ca288af8fa9f8a983645d81b63f088c7e73ac8332cf32ec035301fa99a/plotly/plotly.js/issues/102 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f0540ca288af8fa9f8a983645d81b63f088c7e73ac8332cf32ec035301fa99a/plotly/plotly.js/issues/102 |
| og:image:alt | The font attribute doesn't affect the text in the "hoverlayer" div. At the moment, it doesn't look like there's a way to specify that hover text font family. Here's a minimal example. The font for ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mheilman |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width