Legend and title - ability to set chart title and legend
See original GitHub issueI don’t know if this already exists, or if this should be part of the charts, but I thought I’d suggest these anyway in case it makes sense:
- The ability to set a title that appears somewhere in the LineChart area. Something like
chart.setTitle
- The ability to show a legend (eg when using multiple line) indicating what the different line colors mean. I suppose this could be derived from something like
Line.setName
.
Anyway, thanks for all the work on this chart, it’s very nice and easy to use. The structure of the charts has been well thought out.
Issue Analytics
- State:
- Created 9 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Change legend names - Microsoft Support
Change the legend name using select data Select your chart in Excel, and click Design > Select Data. Click on the legend name...
Read more >Excel charts: add title, customize chart axis, legend and data ...
The tutorial shows how to create and customize graphs in Excel: add a chart title, change the way that axes are displayed, format...
Read more >How to Edit a Legend in Excel | CustomGuide
Change the Chart Title · Select the chart. · Right-click the chart title. · Click the Edit Text button. Titles and Legends. Double-click...
Read more >How to change legend title in excel|MS Excel Quick tips
Contact me at catia.pro.user@gmail.com to get howENGINEERSdoit t shirt..!!This series is dedicated to those who would like to practice on ...
Read more >Titles, Axis, Legend, Data Labels, Gridlines - YouTube
Learn how to add and change chart elements like axis titles, title of the chart, chart layout, data labels and chart legend.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I’m not working on that. I don’t understand what’s the problem and why many people ask about that. Legend can be created as separated view so you and anybody else could create it on your own. It is even a good idea to separate legend from chart view because legend view don’t have to be invalidated so often. Data sharing between chart and legend is also not an issue. What’s more everyone want the legend to look in a different way. So I have no plans to add legend until someone provide or propose some viable solution.
Hi all, if someone still need to add titles as legend to their charts,this is my own implementation:
if you want to make the legend draggable : 1 - add implements OnTouchListener to your activity and then :
Thanks @lecho for the library!