Jump to content
Software FX Community

djdjoko

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by djdjoko

  1. Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> I am currently evaluating the ChartFX for winforms control. The application I work on requires quite frequently redraw of the graphs. I have created a sample application that generates 100 random graphs and plots them on the screen. It seems to do it very slowly as it needs almost 20 seconds to update 100 simulated graphs of 5 series with each having 100 points. Any ideas if the speed can be increased since this is definitely too slow. The code I am using is: Public Function Simulate() as TimeSpan Dim i As Integer, j As Integer, k As Long, n As DateTime, numLines as Integer, numPoints as integer, numSimulations as Integer numLines = 5: numPoints = 100: numSimulations = 100 ChartFX1.Data.Series = numLines ChartFX1.Data.Points = numPoints n = Now() For k = 0 To numSimulations Dim y(numLines - 1)() As Double, x() As Double For i = 0 To numLines - 1 ReDim y(i)(numPoints - 1) Next ReDim x(numPoints - 1)
×
×
  • Create New...