Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OxyPlotのコントロールをVisual Studioのツールボックスへ表示させる方法

Last updated at Posted at 2017-06-06

#はじめに
OxyPlotをVSにインストールした後に、WindowsFormにコントロールを追加するまでにしたことのメモです。

#ツールボックスにPlotViewコントロールが表示されない
c#のWindowsFormで使用したかったので、このページに沿って、インストールしていきました。

フォームにコントロールを追加するときに、"PlotView"のコントロールが見当たらないので、以下の操作でコントロールの追加をします。
(1)ツールボックスの適当なところで右クリック
(2)[アイテムの選択]を選び、[ツールボックス アイテムの選択]ダイアログを表示させる
(3)[.NET Framework コンポーネント]タブの、[参照]ボタンを選択
(4)"(OxyPlotをインストールしたフォルダ)\packages\OxyPlot.WindowsForms.X.X.X\lib\netXX"フォルダの"OxyPlot.WindowsForms.dll"を開く

#コンポーネントが配置できないエラー
上記手順でインストールしていくと、次のようなエラーが生じることがあります。

'OxyPlot.WindowsForms.dll'には、ツールボックスに配置できるコンポーネントが何もありません。

#エラーの解決方法
"(OxyPlotをインストールしたフォルダ)\packages\OxyPlot.Core.X.X.X\lib\netXX"フォルダの"OxyPlot.dll"を"OxyPlot.WindowsForms.dll"と同じフォルダへコピーします。
これでもう一度、上記の(1)~(4)の操作をすると、エラーなくインストールできます。

PlotViewというコントロールがツールボックスへ表れて、OxyPlotがWindowsFormsで使用できるようになります。

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?