You set the style for each individual CWPlot, not the graph itself. Each plot can have its own style, the graph style sheet is just there for quick changes of common plot styles. You would change the LineStyle, PointStyle, Colors, etc of each plot to do this programmatically. For example, to pick a bar style for a plot you would:
CWGraph1.Plots(1).LineStyle = cwLineStepXY
CWGraph1.Plots(1).FillToBase = True
CWGraph1.Plots(1).PointStyle = cwPointNone
This would create a plot that steps and is filled to base with no points shown (bars). If you want to see how the graph styles change the plots, pick a graph style in the property pages, then look at the plot page and see how the plot properties changed.
Best Regards,
Chris Matthews
Measurement Studio Suppo
rt Manager