René's URL Explorer Experiment


Title: How to define/customize Legend for a chart? · plotly/Plotly.NET · Discussion #460 · GitHub

Open Graph Title: How to define/customize Legend for a chart? · plotly/Plotly.NET · Discussion #460

X Title: How to define/customize Legend for a chart? · plotly/Plotly.NET · Discussion #460

Description: How to define/customize Legend for a chart?

Open Graph Description: In version 5.0, legend is no longer an option for Layout.init. The legend option is also not exposed for trace such as Chart2D.Scatter. Looking at the code, it's defined for inner function Trace2DS...

X Description: In version 5.0, legend is no longer an option for Layout.init. The legend option is also not exposed for trace such as Chart2D.Scatter. Looking at the code, it's defined for inner function Trac...

Opengraph URL: https://github.com/plotly/Plotly.NET/discussions/460

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:7bb64686-e941-cfec-52d8-bf8acbb1a5e9
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-id9568:14857B:A571BB:E05CED:698F70D7
html-safe-nonce7f9a808f520fab11e9aeda4b685abea162e2a053041a8c327b14970ffb0e27f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTY4OjE0ODU3QjpBNTcxQkI6RTA1Q0VEOjY5OEY3MEQ3IiwidmlzaXRvcl9pZCI6IjczNTI0OTQxNTg2MTc5OTc1MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace12acbff9b222a0b0ef301028f40598b5297c887c4d0c1b71ed2d8b9b7bff135
hovercard-subject-tagdiscussion:6835800
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/plotly/Plotly.NET/460/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/219fa3d965a0c83e6237b689064e0fff891e78550a84a9e21e9465a18cb25e45/plotly/Plotly.NET/discussions/460
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/219fa3d965a0c83e6237b689064e0fff891e78550a84a9e21e9465a18cb25e45/plotly/Plotly.NET/discussions/460
og:image:altIn version 5.0, legend is no longer an option for Layout.init. The legend option is also not exposed for trace such as Chart2D.Scatter. Looking at the code, it's defined for inner function Trace2DS...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea40913be56b49e6322246e4bcd65ab6ec4b458c6dca6b691d30419da1e5ee35e
turbo-cache-controlno-preview
go-importgithub.com/plotly/Plotly.NET git https://github.com/plotly/Plotly.NET.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id58708375
octolytics-dimension-repository_nwoplotly/Plotly.NET
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id58708375
octolytics-dimension-repository_network_root_nwoplotly/Plotly.NET
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseca6051e0ba2303370981e3d01e2bc1044eb3b429
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2FPlotly.NET%2Fdiscussions%2F460
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2FPlotly.NET%2Fdiscussions%2F460
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=plotly%2FPlotly.NET
Reloadhttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
Reloadhttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
Reloadhttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
plotly https://patch-diff.githubusercontent.com/plotly
Plotly.NEThttps://patch-diff.githubusercontent.com/plotly/Plotly.NET
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fplotly%2FPlotly.NET
Fork 101 https://patch-diff.githubusercontent.com/login?return_to=%2Fplotly%2FPlotly.NET
Star 834 https://patch-diff.githubusercontent.com/login?return_to=%2Fplotly%2FPlotly.NET
Code https://patch-diff.githubusercontent.com/plotly/Plotly.NET
Issues 43 https://patch-diff.githubusercontent.com/plotly/Plotly.NET/issues
Pull requests 3 https://patch-diff.githubusercontent.com/plotly/Plotly.NET/pulls
Discussions https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions
Actions https://patch-diff.githubusercontent.com/plotly/Plotly.NET/actions
Projects 0 https://patch-diff.githubusercontent.com/plotly/Plotly.NET/projects
Security 0 https://patch-diff.githubusercontent.com/plotly/Plotly.NET/security
Insights https://patch-diff.githubusercontent.com/plotly/Plotly.NET/pulse
Code https://patch-diff.githubusercontent.com/plotly/Plotly.NET
Issues https://patch-diff.githubusercontent.com/plotly/Plotly.NET/issues
Pull requests https://patch-diff.githubusercontent.com/plotly/Plotly.NET/pulls
Discussions https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions
Actions https://patch-diff.githubusercontent.com/plotly/Plotly.NET/actions
Projects https://patch-diff.githubusercontent.com/plotly/Plotly.NET/projects
Security https://patch-diff.githubusercontent.com/plotly/Plotly.NET/security
Insights https://patch-diff.githubusercontent.com/plotly/Plotly.NET/pulse
kunjiangkun https://patch-diff.githubusercontent.com/kunjiangkun
Generalhttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/categories/general
How to define/customize Legend for a chart? https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460#top
kunjiangkun https://patch-diff.githubusercontent.com/kunjiangkun
Return to tophttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460#top
Please reload this pagehttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
kunjiangkun https://patch-diff.githubusercontent.com/kunjiangkun
Jun 18, 2024 https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460#discussion-6835800
Give feedback.https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
Oldest https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460?sort=old
Newest https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460?sort=new
Top https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460?sort=top
Please reload this pagehttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
Please reload this pagehttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
kunjiangkun https://patch-diff.githubusercontent.com/kunjiangkun
Jun 18, 2024 https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460#discussioncomment-9809149
Give feedback.https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
Please reload this pagehttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
Please reload this pagehttps://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
kMutagene https://patch-diff.githubusercontent.com/kMutagene
Jun 19, 2024 https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460#discussioncomment-9814218
Plotly.NET/src/Plotly.NET/Layout/Layout.fshttps://github.com/plotly/Plotly.NET/blob/98a4d186642a2c67eba2779aa143218702ebbd66/src/Plotly.NET/Layout/Layout.fs#L1126
98a4d18https://patch-diff.githubusercontent.com/plotly/Plotly.NET/commit/98a4d186642a2c67eba2779aa143218702ebbd66
Plotly.NET/src/Plotly.NET/ChartAPI/Chart.fshttps://github.com/plotly/Plotly.NET/blob/98a4d186642a2c67eba2779aa143218702ebbd66/src/Plotly.NET/ChartAPI/Chart.fs#L2629
98a4d18https://patch-diff.githubusercontent.com/plotly/Plotly.NET/commit/98a4d186642a2c67eba2779aa143218702ebbd66
Plotly.NET/src/Plotly.NET/CSharpLayer/GenericChartExtensions.fshttps://github.com/plotly/Plotly.NET/blob/98a4d186642a2c67eba2779aa143218702ebbd66/src/Plotly.NET/CSharpLayer/GenericChartExtensions.fs#L610-L613
98a4d18https://patch-diff.githubusercontent.com/plotly/Plotly.NET/commit/98a4d186642a2c67eba2779aa143218702ebbd66
Plotly.NET/src/Plotly.NET.CSharp/GenericChartExtensions.cshttps://github.com/plotly/Plotly.NET/blob/98a4d186642a2c67eba2779aa143218702ebbd66/src/Plotly.NET.CSharp/GenericChartExtensions.cs#L377
98a4d18https://patch-diff.githubusercontent.com/plotly/Plotly.NET/commit/98a4d186642a2c67eba2779aa143218702ebbd66
Give feedback.https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2FPlotly.NET%2Fdiscussions%2F460
💬 General https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/categories/general
https://patch-diff.githubusercontent.com/kunjiangkun
https://patch-diff.githubusercontent.com/kMutagene
https://patch-diff.githubusercontent.com/plotly/Plotly.NET/discussions/460
https://patch-diff.githubusercontent.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.