heathlmorris Posted September 10, 2010 Report Posted September 10, 2010 Hello, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> I am trying to get the content for a single series to be visible when I only have one Series in a pie chart displayed. It only appears when I have two or more series inside the chart. Is there a reason that the Series content is not shown? Is there a property to turn on or off this functionality? With a single series I get no Content Label on the Chart chart1.series[0].content = Quote
JuanC Posted September 16, 2010 Report Posted September 16, 2010 This is a built-in behavior (showing the series content) on top of each pie that is only triggered when the chart diplays more than one series, unfortunately we do not have an API to change this behavior. You could achieve a similar result in single series charts adding a title to the chart, e.g. chart1.Titles.Add(new Title("Series Content goes here")); We will research if we can provide an API to change this so that you can reuse your code in single and multiseries charts. JuanC Quote
heathlmorris Posted September 16, 2010 Author Report Posted September 16, 2010 Unfortunately The title is not an option we can pursue, because we are already using that feature as a Title. We need the functionality to be as expected. That if a single item is selected that there is an option or property to turn it on or off. We are coming soon to a release. Please expedite this feature if possible. Quote
JuanC Posted September 17, 2010 Report Posted September 17, 2010 We might be able to add a new flag to support this functionality but can you expand on why you said "because we are already using that feature as a Title", you can add multiple titles to a chart. JuanC Quote
heathlmorris Posted September 17, 2010 Author Report Posted September 17, 2010 We are already allowing the use of that feature to be used as a title. If that is added for the single Item inside the pie chart the title goes above the LegendBox which makes it inconsostent with the rest of the application. By Default the Legend is on the Top inside our Application and the Title is above that. Having the single item content title being displayed under the title yet above the Legened Box does not look right. Unike when you have multiple Pie Charts showing the Content Label Shows Below the LegendBox. Thats why it will not work. The behavior is not the same as a content label when adding the LegendBox on the Top. We might be able to add a new flag to support this functionality but can you expand on why you said "because we are already using that feature as a Title", you can add multiple titles to a chart. JuanC Quote
JuanC Posted September 21, 2010 Report Posted September 21, 2010 We have added a flag called ChartSettings.SingleSeriesTitle in build 3915 or later that you can turn on using the Chart.AdvancedSettings property. Please note that this property will not appear in Intellisense. You can download this build as a hotfix here, please note that if you are using UAC you must run IE as an Administrator. JuanC Quote
heathlmorris Posted September 21, 2010 Author Report Posted September 21, 2010 Thank You. We Appreciate your efforts in getting us the best functionality for our charts. Quote
heathlmorris Posted September 21, 2010 Author Report Posted September 21, 2010 Can you send me a list of defects that were fixed inside this hotFix. Since we are so close to release we need to know of all things that may be affected by this hotfix. I would greatly appreciate it. Thank You Heath Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.