Bug Report B50370
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Axis tickmarks aren't aligned with grid lines

Line Chart has distorted lines

created 17 years ago

please see attached sample.
Steps to Reproduce:
start the sample, zoom in on the chart and have a very close look at the lines. they have small distortions which cannot be explained by the underlying data, as the values of each series are constantly dropping with increasing argument values. I have had this issue since the first release of xtrachart however I never found the time to bring it up.
Its funny: if you have only one series then that the line of that series will be as smooth as it should be. however, once you start adding other series they all become slightly distorted. I guess it is related to the fact that all four series in my example have different arguments.
Actual Results:
the lines show small distortions which are very easy to see when zooming in.
Expected Results:
they should all be smooth.

Show previous comments (2)
DevExpress Support Team 17 years ago

    Mark,
    Please review the sample, attached to the my last reply.
    This sample is illustrating how you can avoid the problem with unsharp labels in the BMP.
    Thanks,
    Andrew

      Andrew, I am sorry, I didn't see that you took the time to create a sample for me. I just followed the link to the other issue you were pointing at.
      After looking at your sample I don't think this is going to do, although I must say the workaround really makes the labels readable again. However, they are still not as sharp as with metafile. Furthermore, it looks like I would be losing control over the axes, as in your sample they differ in the imagebox from the original chart. Lastly, while I appreciate your effort with the workaround thats not a solution I am willing to use as its going to be very cumbersome with a lot of charts and reports.
      It's a pitty that this issue cannot be solved with the metafile. The lines are clearly smoother in the bmp.
      Hm… looking at it VERY closely i still have the feeling that even in the bmp the connection between the points in each line are not perfectly placed. I can see small bumps there too, funny… it still looks like the end point of one part of a line does not exactly match the same starting point of the next part of the line. gosh…
      oh well, I can life with the normal approach, it's not that it is unbearable… its just not perfect :)

      DevExpress Support Team 17 years ago

        Hi Mark,
        Yes, it's only a workaround, but you may use it if the solution with the MetaFile doesn’t work.
        Please feel free to contact us in case of any difficulty. We will be happy to assist you.
        Thanks,
        Andrew

        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.