Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8522623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:10:35+00:00 2026-06-11T07:10:35+00:00

I have a strange thing happening while using ZedGraph . I am using the

  • 0

I have a strange thing happening while using ZedGraph.

I am using the same item to add multiple curves. Like:

ZedGraph LineItem curve_3;
curve_3 = pane.AddCurve("", xx_1, yy, xxyy);

I call the above lines multiple times to add multiple points. But when I remove the curve, only the last added curve gets removed and left all stays on the pane.

this.zedGraph_RenderedTrack.GraphPane.CurveList.Remove(curve_3);

I am not finding a way that will clear all the curves added. Is there a to do it?

My actual requirement is that I have to add the different lines dynamically on the pane, but I don’t need to display the label information and all of them should be plotted by a single click and removed by a single click.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:10:37+00:00Added an answer on June 11, 2026 at 7:10 am

    You are holding only the last curve in this code:

    ZedGraph LineItem curve_3;
    curve_3 = pane.AddCurve("", xx_1, yy, xxyy);
    

    Use collection like List<LineItem> to remember all the curves.

    List<LineItem>.foreach(r => this.zedGraph_RenderedTrack.GraphPane.CurveList.Remove(r);
    )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

CSS newbie here. Strange thing is happening, I have gaps between links, and I
I've got quite a strange thing happening on an ASP.NET 4.0 web application using
I have an FBML app and a strange thing keeps happening. If I go
I have multiple buttons, each having a 32x32 pixels PNG image. The strange thing
I have a strange thing happening with php files. As an example: domain.com/test.php domain.com/test
I have a strange thing happening with my app now after iOS5 updates. I
I have noticed a strange thing happening in jQuery and wonder if anyone knows
Hi guys I have a very frustrating and strange thing happening here, when I
I have a really strange thing happening on my site and I cant figure
I have a kind of strange thing that I really nead for my text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.