View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012047VTK(No Category)public2011-04-05 16:442013-04-05 20:27
ReporterCarsten Panch Pedersen 
Assigned ToMarcus D. Hanwell 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSWindowsOS Version7 SP1
Product Version 
Target VersionFixed in Version 
Summary0012047: Possibility to hide vtkPlot legends
DescriptionI’m using a vtkChartXY to display some plots. On the vtkChartXY I can
choose to show legends (SetShowLegend(true)). Apparently, I cannot
select which plots to show the legends for. Either it’s all or none.

Is it possible to hide the legends for specific plots? I could set the
plot label to an empty string, but it still leaves drawing of the plot
color. I would like to remove it altogether.

Additional InformationAnswer from Marcus:
It should be quick enough to add a check for the plots having a zero length label, but that functionality does not currently exist. If you file a bug I will assign it to myself, which will ensure it remains on my list. No one has requested this functionality before.

Marcus
--
Marcus D. Hanwell, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4937
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0026292)
Marcus D. Hanwell (developer)
2011-05-01 12:05

Commit abc45ac adds a new test verifying this functionality. You should set the plot label to an empty string, and this will case the legend to skip that plot.

 Issue History
Date Modified Username Field Change
2011-04-05 16:44 Carsten Panch Pedersen New Issue
2011-04-05 16:52 Marcus D. Hanwell Assigned To => Marcus D. Hanwell
2011-04-05 16:52 Marcus D. Hanwell Status backlog => tabled
2011-04-05 16:53 Marcus D. Hanwell Status tabled => @30@
2011-05-01 12:05 Marcus D. Hanwell Note Added: 0026292
2011-05-01 12:05 Marcus D. Hanwell Status @30@ => @80@
2011-05-01 12:05 Marcus D. Hanwell Resolution open => fixed
2011-06-16 13:12 Zack Galbreath Category Development => (No Category)
2013-04-05 20:27 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team