LoginSignup
0
0

More than 3 years have passed since last update.

【C++Builder】TChartで自分で作成したAxesをAutomaticに戻す場合

Posted at

前回、【C++Builder】TChartでX軸・Y軸の目盛りを自分で作成する方法で、

Chart1->BottomAxis->Automatic = false;
Chart1->Axes->Bottom->Items->Clear();   // 自動生成する目盛りを一度クリアする

とした後に、もう一度目盛りをAutoに変更する方法がわからなかったのだけど、

Chart1->LeftAxis->Automatic = true;
Chart1->Axes->Left->Items->Automatic=true;

Chart1->LeftAxis->Automatic = true; だけではなくて、Chart1->Axes->Left->Items->Automatic=true; と、Itemsの方もAutomaticに設定してあげないといけないみたい。

忘れないようにメモ。

0
0
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
0
0