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
|
The AlternativeYAxes works fine as expected when everything is static. But it does not work fine when binding the axis' title to a value. It's complicated to describe the bug, to reproduce this bug, you can download the sample project I uploaded, and run the sample. After the sample application runs, you can see two charts in the main window. And if you pay attention to the axis Y, you will find that the chart 1's axis Y is different than chart 2's axis Y. This is not expected. Actually, they should be the same if you read the source code. The only difference between chart 1 and chart 2 is: Chart1:
Chart2:
|
|
|
Hello Rossi.Luo Thanks for pointing this out and sending the repro project! This will be resolved in the next nightly build. (available after 1200GMT and will be downloadable from here: http://www.mindscapehq.com/products/wpfelements/nightly-builds). -Jason Fauchelle |
|
|
After getting the new version, it works. Thanks for the soon update. But I hope that you can fix all the bugs related to data binding at once. I find one more bug about the SeriesBrush, when I binds it to a brush, it does not work until I zoom in or zoom out. I don't have time to give you a sample project again, this bug is similar than the "AlternativeYAxes" bug, I hope you can fix this bug soon. |
|
|
Hello Rossi Unfortunately I have not been able to reproduce this one. I've tried in both samples you sent to bind the SeriesBrush property. So it seems to work fine when the chart is within a DataTemplate, and it works fine when the series are built in code, and I've also checked that it works fine when the chart and series are built in xaml. I have also checked the code - when the SeriesBrush changes, it will render the chart, and nothing in the Chart control accidentally overrides this value on load. Please modify one of your existing samples, or describe the steps to modify one of your samples to reproduce this problem. In particular, which type of series are you using, and are you applying a custom LineStyle? Once I reproduce it, I will be able to solve it. -Jason Fauchelle |
|
|
Hi, sorry. I made a mistake. The SeriesBrush works fine. But the Foreground of the ChartAxis type does not work when using data binding. |
|
|
No worries Rossi, Thanks for pointing out the Foreground issue The ChartAxis Foreground issue will be resolved in the next nightly build. -Jason Fauchelle |
|