TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sam
NA
166
0
charting scale labels - WinForm, VS2008 .NET3.5
Mar 2 2014 4:00 AM
re-posting a question: No answer was given
==============================
Hi,
I have a simple chart, bind to a multiple columns datatable.
I use the X and Y int values of two selected columns from the table to get a square wave form, which works fine.
Chart1.Series["timeChart"].XValueMember = "time"; //int32 milliseconds.
Chart1.Series["timeChart"].YValueMember = "state"; //int32 1 or 0.
My problem:
The X scale shows automatic rounded values rather than the actual table points values.
I need to have the actual table values of each point rather than linear, rounded numbers.
(I have also tried the following, but it is the same)
Chart1.Series["timeChart"].XValueMember = table.Columns["time"].ToString();
Another, related question: How can I add values from same table, other column to the existing X-axis values? (To show both values' labels in two rows)
Thanks
Reply
Answers (
1
)
Ctrl +k,Ctrl+c is not working in the .aspx page
DISPLAY SQL TABLE ROWS TO WORD OR PDF LIKE BELOW FORMATE