Title: getImage for dates returns blank graph · Issue #63 · plotly/plotly-nodejs · GitHub
Open Graph Title: getImage for dates returns blank graph · Issue #63 · plotly/plotly-nodejs
X Title: getImage for dates returns blank graph · Issue #63 · plotly/plotly-nodejs
Description: var dates = ['2020-05-09T17:48:49.000+00:00', '2020-05-06T17:48:49.000+00:00'] var members = [16, 9] var trace = { x: [dates], y: [members], type: "scatter" }; var figure = {'data': [trace]}; var imgOpts = { format: 'jpeg', width: 700, h...
Open Graph Description: var dates = ['2020-05-09T17:48:49.000+00:00', '2020-05-06T17:48:49.000+00:00'] var members = [16, 9] var trace = { x: [dates], y: [members], type: "scatter" }; var figure = {'data': [trace]}; var i...
X Description: var dates = ['2020-05-09T17:48:49.000+00:00', '2020-05-06T17:48:49.000+00:00'] var members = [16, 9] var trace = { x: [dates], y: [members], type: "scatter" }; var figure ...
Opengraph URL: https://github.com/plotly/plotly-nodejs/issues/63
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"getImage for dates returns blank graph","articleBody":"```\r\nvar dates = ['2020-05-09T17:48:49.000+00:00', '2020-05-06T17:48:49.000+00:00']\r\nvar members = [16, 9]\r\n\r\nvar trace = {\r\n x: [dates],\r\n y: [members],\r\n type: \"scatter\"\r\n };\r\n var figure = {'data': [trace]};\r\n\r\n var imgOpts = {\r\n format: 'jpeg',\r\n width: 700,\r\n height: 500\r\n };\r\n plotly.getImage(figure, imgOpts, function (error, imageStream) {\r\n if (error) return console.log (error);\r\n \r\n var fileStream = fs.createWriteStream('../../Bots/Pinnacle/graphs/1.jpeg');\r\n imageStream.pipe(fileStream);\r\n fileStream.on('error', err =\u003e console.log(err))\r\n })\r\n```\r\n\r\nThis code returns a jpeg file that is a blank graph. If any more info is needed just say so","author":{"url":"https://github.com/PinnacleBot","@type":"Person","name":"PinnacleBot"},"datePublished":"2020-05-09T20:45:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/63/plotly-nodejs/issues/63"}
| 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:9ced6cc8-83ea-3e5a-097b-61e00ad5c1a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A9EA:CE9E9:72BCF8:A0AEFF:696A130E |
| html-safe-nonce | 4335463fae974b1bd1ad31eaf04c88b2e6dbf33f16e2a95e50b513879bbba4d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUVBOkNFOUU5OjcyQkNGODpBMEFFRkY6Njk2QTEzMEUiLCJ2aXNpdG9yX2lkIjoiMTk0Mzc0NjkwOTgzNzc3MDM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 77837adf51f01bb6761a2bb994c82f1aa111c7e765675bf09fb57be28eaf9ea7 |
| hovercard-subject-tag | issue:615256769 |
| 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-nodejs/63/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0ecd27eecdf2866dc1eb369980ca118adeca2ecb84eab97f748e7e9c350de306/plotly/plotly-nodejs/issues/63 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ecd27eecdf2866dc1eb369980ca118adeca2ecb84eab97f748e7e9c350de306/plotly/plotly-nodejs/issues/63 |
| og:image:alt | var dates = ['2020-05-09T17:48:49.000+00:00', '2020-05-06T17:48:49.000+00:00'] var members = [16, 9] var trace = { x: [dates], y: [members], type: "scatter" }; var figure = {'data': [trace]}; var i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PinnacleBot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly-nodejs git https://github.com/plotly/plotly-nodejs.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 16871752 |
| octolytics-dimension-repository_nwo | plotly/plotly-nodejs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16871752 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly-nodejs |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width