# OxyPlotViewer

The OxyPlotViewer sample plugin provides a template for creating a custom Cognex Designer HMI chart control. Use it as follows:

1. Copy the OxyPlotViewer folder to the directory you are developing in.
2. Open Visual Studio as an Administrator.
3. Open the OxyPlotViewer solution in Visual Studio.

4. Develop and build your plugin.

The built plugin will be available as a Cognex Designer plugin and will be located at the following location:

%ProgramData%\Cognex\Designer\Plugins\Samples\OxyPlotViewer

The plugin should consist of the following files:

Once the plugin is built, the Cognex Designer Launch Page will list a ChartsPluginSample project in the Sample Projects window, demonstrating how the plugin is used.

Once you open the project, it demonstrates 13 different charts that you can create with the plugin.