N
N
Nikita Salnikov2020-05-18 13:53:20
C++ / C#
Nikita Salnikov, 2020-05-18 13:53:20

How to add a date to a chart?

Hello. Please tell me how to add the date display along the X axis along with the categories to the existing chart.

accountingTableAdapter.Fill(база_данныхDataSet.Accounting);
            chart1.Series["Series1"].XValueMember = (база_данныхDataSet.Tables[0].Columns[2]).ToString();
            chart1.Series["Series1"].YValueMembers = (база_данныхDataSet.Tables[0].Columns[4]).ToString();
            chart1.DataBind();

5ec268f5c163c296026413.jpeg
5ec268ffcf336238578601.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question