This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
We are developing a product which can quickly plot some transit character charts for our client
The XAML code for the bar/pie charts
In the code, depends on the user selection, I assign the ItemsSource.
valueList is a List of StringDoubles If you can help me out here, it’s greatly appreciated. Thank you |
|
|
Hello I think you may need to get the latest nightly build. Nightly builds are published each night and contain small fixes or new features since the last major build. For the version you have, the nightly build will include almost a year of updates that you'll want. To get the latest nightly build, go to your account page http://www.mindscapehq.com/store/myaccount, click the green downloads button next to the Megapack, then find the nightly builds link next to WPF Elements 5.1. This should resolve number 1 and 2. Let me know if the issues remain. 3/ You can customize the palette of a pie chart by adding brushes to the PieSeries.Brushes collection. This can be done both in xaml and in code. Here is a xaml example:
4/ You can customize the look of the bar chart labels by setting the BarSeries.DataLabelStyle property. This style will be similar to what you did for showing percentages in the pie chart labels. Your percentage pie chart label style is probably using our FormattingConverter. If so, you can set the FormattingString property of a converter instance to be "{}{0:0}" to display as an integer. Jason Fauchelle |
|