Visual Basic Spline Chart

smal 20 Reputation points
2023-01-30T14:46:02.01+00:00

Hello. I'm creating in visual basic an application that displays the values taken from different csv files. After having selected the files, the graph appears as in the figure.

Immagine 2023-01-30 154227

What should I set so that vertical lines do not appear?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,606 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael Taylor 48,281 Reputation points
    2023-01-30T15:46:48.08+00:00

    Please provide us more context. You are asking how to disable lines but you haven't told us anything about your app beyond it being VB. What type of app is it (web form, winforms, XAML), what control are you using to get the graph, what vertical lines specifically (column headers)?


2 additional answers

Sort by: Most helpful
  1. smal 20 Reputation points
    2023-01-30T17:15:45.2033333+00:00

    I've noticed that blue vertical lines are created when a value in the series is missing. How can I fix?


  2. smal 20 Reputation points
    2023-01-30T20:01:18.67+00:00

    The numbers in the series are decimal, but in the American style, i.e. floating point with . While in Italy we are in the habit of using the ,

    I fixed it by changing the culture with the code:

     Threading.Thread.CurrentThread.CurrentCulture = New CultureInfo("us-US")
            Threading.Thread.CurrentThread.CurrentCulture.NumberFormat.NumberDecimalSeparator = "."
    
    0 comments No comments