Jump to content
Software FX Community

Pie Chart Series Content not visible with a single series. It is only Visible with Multiple Series


heathlmorris

Recommended Posts

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 =
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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. 

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...