Bug Report T301824
Visible to All Users

Polar Point and Polar Line series are not compatible

created 9 years ago

I am trying to display PolarPoint and PolarLine in same chart. See following code:

C#
private void button1_Click(object sender, EventArgs e) {     Series s = new Series("Points", ViewType.PolarPoint);     s.Points.Add(new SeriesPoint(0, 2));     s.Points.Add(new SeriesPoint(90, 5));     s.Points.Add(new SeriesPoint(180, 3));     s.Points.Add(new SeriesPoint(270, 1));     chartControl1.Series.Add(s); } private void button2_Click(object sender, EventArgs e) {     Series s = new Series("Line", ViewType.PolarLine);     s.Points.Add(new SeriesPoint(0, 8));     s.Points.Add(new SeriesPoint(90, 6));     s.Points.Add(new SeriesPoint(180, 9));     s.Points.Add(new SeriesPoint(270, 7));     chartControl1.Series.Add(s); }

But it doesn't work as expected: When I click button1 first the PolarPoint series is added and displayed. But subsequent clicks to button2 have no effect. And vice versa.

The problem can be reproduced with the attached project.

Answers approved by DevExpress Support

created 9 years ago (modified 9 years ago)

We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

    Comments (1)
    DevExpress Support Team 9 years ago

      We have applied the fix to v14.2. If necessary, you can request a hotfix build and test it on your developer machine.

      created 9 years ago

      Hi Daniel,
      PolarLine and PolarPoint series are not compatible. As a workaround I suggest you use Polar Point series and draw lines manually in the same manner as illustrated in the XY-Diagram Custom Paint demo. The same custom drawing  approach illustrated in our online demo.

        Comments (2)
        DR DR
        Daniel Rütimann 1 9 years ago

          Thanks for your help.  But then maybe you should clarify this on https://documentation.devexpress.com/#WPF/CustomDocument8348. The information on that page suggests compatibility between these two series.

          DevExpress Support Team 9 years ago

            Hi Daniel,
            It seems that PolarLine and PolarPoint series should be compatible. I have passed this ticket to our developers for further research. We will update this ticket once we have any news.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.