Jump to content
Software FX Community

Discontinuous graphs


DannE

Recommended Posts

Yes, it is possible to create discontinuous graphs, also is possible to draw a lito to Y=0 for each missing point, moreover you may also just not include the missing values to create a continuous graph.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

There are two approached to accomplish this:

 

a)  Use chart1.Data.InitializeHidden = true; then each missing point between 1987 and 1988 will become zero and you will see a line going down from 1987 to Y=0, then a line going up from Y=0 to 1998.

 

:)Hide the points in your curve chart by doing: chart1.data[0, 0] = Chart.Hidden; This will create a discontinuous line...but perhaps you may want to create a nice continuous line from 1987 to 1988 omitting the missing points then you do chart1.Data.InterpolateHidden = true;

Link to comment
Share on other sites

I apologize for overlooking at the thread product section. As indicated by Max you may want to use the "Value" property to pass data to the chart. Here is some code Max kindly posted for you:

------------------------------------------------------------------------------------------------------------------

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...