Title: Impossible to set layout width in % · Issue #203 · plotly/angular-plotly.js · GitHub
Open Graph Title: Impossible to set layout width in % · Issue #203 · plotly/angular-plotly.js
X Title: Impossible to set layout width in % · Issue #203 · plotly/angular-plotly.js
Description: Hello, In my case i updated angular and figured that witdh of my Open Graph Description: Hello, In my case i updated angular and figured that witdh of my X Description: Hello, In my case i updated angular and figured that witdh of my <plotly-plot> is now fixed to 700px. My graph is displayed in a sidenav, and the 700px is higher than the sidenav width. Also ...
Opengraph URL: https://github.com/plotly/angular-plotly.js/issues/203
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Impossible to set layout width in %","articleBody":"Hello,\r\n\r\nIn my case i updated angular and figured that witdh of my `\u003cplotly-plot>` is now fixed to 700px.\r\nMy graph is displayed in a sidenav, and the 700px is higher than the sidenav width.\r\n\r\nAlso this is not working in html :\r\n`\u003cplotly-plot [style]=\"{ width: '100%', height: '220px' }\" ...>\u003c/plotly-plot>`\r\n\r\nThe height is correctly set but **width:100%** is **totaly ignored** as it's not valid value in px and the default value 700px stay.\r\n\r\nAnother thing is that after a window resize or a graph axis moove all is correctly set again and graph fit to the container.\r\nSo it is just about the first render forcing to 700px;\r\n\r\nI used a temporary trick to make the graph fit properly. \r\n\r\n- An event is triggered when the sidenav is opened, this event sets a boolean \"displayGraph\" to true.\r\n- This boolean is then used to display the graph via a *ngIf=\"displayGraph\"\r\n\r\nBest regards,\r\nCUETO Vincent","author":{"url":"https://github.com/pitchan","@type":"Person","name":"pitchan"},"datePublished":"2022-07-20T15:46:18Z","url":"https://github.com/plotly/angular-plotly.js/issues/203"}
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:230e3cb0-f2b0-2c7b-be59-95c40ff56c4d current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id E76A:1CCECA:126300F:1880B57:6B01F8B5 html-safe-nonce f816474999161ddbd1e1c9c9738dd1156ed1a0933416ac38e2aa4fdc71fd90e3 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzZBOjFDQ0VDQToxMjYzMDBGOjE4ODBCNTc6NkIwMUY4QjUiLCJ2aXNpdG9yX2lkIjoiNTA1NDMwMDAxODAzMTMyNzQxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 1d093b0e3f566ef061ce4cc877d40b9ad8968059af8140c4668c9a5ae1d48258 hovercard-subject-tag issue:1311383260 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/angular-plotly.js/203/issue_layout twitter:image https://opengraph.githubassets.com/5361bcaf2fa0bc1fabd60c37963130384ddd153975932818e2c6896162f97d9b/plotly/angular-plotly.js/issues/203 twitter:card summary_large_image og:image https://opengraph.githubassets.com/5361bcaf2fa0bc1fabd60c37963130384ddd153975932818e2c6896162f97d9b/plotly/angular-plotly.js/issues/203 og:image:alt Hello, In my case i updated angular and figured that witdh of my og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username pitchan hostname github.com expected-hostname github.com None 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 turbo-cache-control no-preview go-import github.com/plotly/angular-plotly.js git https://github.com/plotly/angular-plotly.js.git octolytics-dimension-user_id 5997976 octolytics-dimension-user_login plotly octolytics-dimension-repository_id 125262347 octolytics-dimension-repository_nwo plotly/angular-plotly.js octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 125262347 octolytics-dimension-repository_network_root_nwo plotly/angular-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 423dbb54c5e7bfecc838eb387c1435eb3d0e760d ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.