Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
WPF xamDataChart with secondary axis and hierarhy in Xaxis
posted

Hi,

Is it possible to create a chart as in attached picture with WPF xamDataChart? I tried wtith OlapXAxis, but it is not support multiple Y-Axes.

Serie "Volume" should be LineSeries, others should be ColumnSeries. Volume serie should have second YAxis. I have hierarchy in XAxis.

Thank you in advance.

 

 

Parents
No Data
Reply
  • 34810
    Verified Answer
    Offline posted

    Hello isimeon,

    Thank you for your post.

    I have been investigating into this issue, and currently, the OlapXAxis in the XamDataChart only accepts a single YAxis for usage in plotting the points in the chart, as defined by the YAxis property of that axis.

    I had thought that something that you may be able to do is use a separate OlapXAxis bound to the same data source as your primary one. Then, you could apply an AxisLabelSettings object to the OlapXAxis.LabelSettings property, which has its AxisLabelSettings.Visibility property set to "Collapsed." This would effectively hide the secondary OlapXAxis to the user. However, in practice I have recently seen that while the axis shows up and works correctly without the AxisLabelSettings, the series that is assigned to it doesn't seem to function correctly in the way that it isn't drawn. I am currently looking into this further with our upper level development staff, and I will have more information for you on this matter soon.

    Regarding the actual usage of multiple Y axes with a single OlapXAxis, this has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.

    Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it.  You can also link back to this thread for additional details.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer
    Infragistics Inc.
    www.infragistics.com/support

Children