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
200
Example Infragistics -2D Charting code
posted

I imported your example code from a 2D sample.

I attached a screen shot with the error I get when I compile the code.

I know I don't have "/chart_gray_bg.jpg" how can I get it and how can I get rid of the errors in my code.

Thanks in advance.

Parents
  • 12480
    Offline posted

    Hi Colin,

    Which sample were you using? What method did you use to adapt the code?

    chart_gray_bg.jpg is resource in the project, and you should be able to access it normally. The errors you are seeing are related to your project's resources. Once you add the image as a resource, those errors should be easy to fix by changing the code to reference the resources you added.

    Please see the following MSDN topic for more information about resource files: https://msdn.microsoft.com/en-us/library/7zxb70x7.aspx

Reply Children