I've seen that setting, the problem is that I can't just put an empty unbound graph control into my form. Do I need to load a bound graph control and then change the values for the x and y axis?
How do I assign x and y if theres only one RowSource?
I've created 2 string variables x_axis and y_axis which are assigned the name of the desired fields in a table. I want to select the field names through 2 list controls
Code:
Dim x_axis As String
Dim y_axis As String
Dim x_full As String
Dim y_full As String
x_axis = Me.list_x.Value
y_axis = Me.list_y.Value
x_full = "tablename." + x_axis
y_full = "tablename." + y_axis
graph_ctrl.RowSource = x_full, y_full
That's obviously not working because I don't understand the format of RowSource.
Any help is appreciated!