Jump to content
Software FX Community

Setting a value to x axis


andy t
 Share

Recommended Posts

I am using ChartFX Lite and need to make a line graph. The sample code shows how to set Y values, but I haven't been able to figure out how to set x values. Here is the sample I am using as a basis - it only sets Y values. I need the code to set x value of apoint as well.

 

Thanks!

for(i=0;i<10;i++)      {        chart1.Value[0, i] = 20 + Rnd.NextDouble() * 100;;      }

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.

 Share

×
×
  • Create New...