ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  samplesize value for make X-axis to 72 hours
Posted by Cici on Mar-23-2018 04:09
I am using VB.NET to program a real time running chart.
Currently, I can get charts for X-axis which value is 12/24 hours.

Code is as following:
12 hours:
    Private Const sampleSize As Integer = 14400
    chartUpdateTimer.Interval = 5000

24 hours:
   Private Const sampleSize As Integer = 28800
   chartUpdateTimer.Interval = 5000


Now, I want to get the 72 hours in X-axis. When I change the sampleSize to 86400, the WinChartViewer is blank. Nothing comes out.

Do you have any solution for my problem?

Thanks,

Cici

  Re: samplesize value for make X-axis to 72 hours
Posted by Cici on Mar-23-2018 20:52
Never mind, already found the solution.
Need to multiple the dataRateTimer.Interval

Cici