This project is read-only.

Null reference exception when setting plotoptions or globaloptions in vb

Jan 20, 2014 at 2:19 PM
I get a null reference exception when setting global options or plotoptions inVB.

This is the same logical format I use to set title options.. so I am confused why this would not work for plot / global?
   Dim baselineChart As Highcharts = New Highcharts("BaselineChart")
        Dim goptions As New Helpers.GlobalOptions
        goptions.Global.UseUTC = False
Mar 20, 2014 at 6:56 PM
It may be too late for you, but in case others find this, try this.
            Dim goptions As New Helpers.GlobalOptions
            goptions.Global = New [Global]() With {.UseUTC = False}
Marked as answer by Vangi on 4/22/2014 at 7:49 AM