Click here to Skip to main content
15,890,123 members
Home / Discussions / C#
   

C#

 
GeneralRe: arrays Pin
OriginalGriff4-Feb-19 0:46
mveOriginalGriff4-Feb-19 0:46 
GeneralRe: arrays Pin
Pete O'Hanlon4-Feb-19 1:19
mvePete O'Hanlon4-Feb-19 1:19 
Questionhow to get the corresponding y values for given x values from the chart series Pin
Mohamed Fahad3-Feb-19 21:54
Mohamed Fahad3-Feb-19 21:54 
SuggestionRe: how to get the corresponding y values for given x values from the chart series Pin
Richard MacCutchan3-Feb-19 22:21
mveRichard MacCutchan3-Feb-19 22:21 
AnswerRe: how to get the corresponding y values for given x values from the chart series Pin
Eddy Vluggen3-Feb-19 22:42
professionalEddy Vluggen3-Feb-19 22:42 
AnswerRe: how to get the corresponding y values for given x values from the chart series Pin
Jeff_T_12344-Feb-19 5:49
Jeff_T_12344-Feb-19 5:49 
AnswerRe: how to get the corresponding y values for given x values from the chart series Pin
Gerry Schmitz4-Feb-19 6:47
mveGerry Schmitz4-Feb-19 6:47 
Questionthe timer is slowed Pin
Mohamed Fahad3-Feb-19 0:57
Mohamed Fahad3-Feb-19 0:57 
i use the one timer in program i set 100ms intravel for that timer.every 100ms i need to increment the values and plot in chart.now my problem is the timer is got slowed when iam using the chart in my application without chart the working of timer is fine.

this is my code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace chart
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        double a,b = 0;
        private void Form1_Load(object sender, EventArgs e)
        {
            timer1.Start();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            a = a + 1;
            b = b + 3;
            timervaluee.Text=a.ToString();
            chart1.Series[0].Points.AddXY(a, b);
        }
    }
}

AnswerRe: the timer is slowed Pin
Eddy Vluggen3-Feb-19 1:27
professionalEddy Vluggen3-Feb-19 1:27 
GeneralRe: the timer is slowed Pin
Mohamed Fahad3-Feb-19 1:42
Mohamed Fahad3-Feb-19 1:42 
GeneralRe: the timer is slowed Pin
Eddy Vluggen3-Feb-19 1:44
professionalEddy Vluggen3-Feb-19 1:44 
GeneralRe: the timer is slowed Pin
OriginalGriff3-Feb-19 1:59
mveOriginalGriff3-Feb-19 1:59 
GeneralRe: the timer is slowed Pin
Eddy Vluggen3-Feb-19 2:04
professionalEddy Vluggen3-Feb-19 2:04 
GeneralRe: the timer is slowed Pin
OriginalGriff3-Feb-19 2:23
mveOriginalGriff3-Feb-19 2:23 
AnswerRe: the timer is slowed Pin
Gerry Schmitz4-Feb-19 6:41
mveGerry Schmitz4-Feb-19 6:41 
QuestionUsing Clang in c# project Pin
areejmayar1-Feb-19 23:57
areejmayar1-Feb-19 23:57 
AnswerRe: Using Clang in c# project Pin
OriginalGriff2-Feb-19 0:50
mveOriginalGriff2-Feb-19 0:50 
AnswerRe: Using Clang in c# project Pin
jschell2-Feb-19 6:13
jschell2-Feb-19 6:13 
GeneralRe: Using Clang in c# project Pin
areejmayar2-Feb-19 7:01
areejmayar2-Feb-19 7:01 
GeneralRe: Using Clang in c# project Pin
OriginalGriff2-Feb-19 19:32
mveOriginalGriff2-Feb-19 19:32 
GeneralRe: Using Clang in c# project Pin
jschell17-Feb-19 5:33
jschell17-Feb-19 5:33 
GeneralRe: Using Clang in c# project Pin
OriginalGriff17-Feb-19 6:02
mveOriginalGriff17-Feb-19 6:02 
QuestionPassing Json from Winforms to console app for writing to file Pin
jkirkerx31-Jan-19 9:58
professionaljkirkerx31-Jan-19 9:58 
AnswerRe: Passing Json from Winforms to console app for writing to file Pin
jkirkerx31-Jan-19 10:18
professionaljkirkerx31-Jan-19 10:18 
AnswerRe: Passing Json from Winforms to console app for writing to file Pin
Dave Kreskowiak31-Jan-19 13:52
mveDave Kreskowiak31-Jan-19 13:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.