03-19-2024 03:22 AM
チャートグラフのX軸表示を、”データ数”と”日時”で自由に切り替える方法はありませんか?
Solved! Go to Solution.
03-19-2024 03:27 AM
Hi kk,
@kk5 wrote:
Is there a way to freely switch the X-axis display of the chart graph between "number of data" and "date/time"?
What exactly do you use ?
Do you use a chart or do you use a graph? (Which graph exactly?)
The X axis of charts and graphs provides several properties and you can change properties at runtime. One of the properties sets the scale formatting...
03-19-2024 03:44 AM
お返事ありがとうございます。
波形チャートを使用します。
記載が不足していましたが、プログラム実行中(チャート描画中)にX軸の表示を切り替えたいです。
03-19-2024 04:03 AM
Hi kk,
@kk5 wrote:
Use a waveform chart.
Although the description was missing, I would like to switch the display of the X axis while the program is running (while drawing the chart).
It really would help when you would translate your messages to English on your own…
A chart displays the sample number on its X axis. You can format the axis to show (relative) time and manipulate the axis offset/multiplier to fit the scale to your needs!
Which datatype do you use to feed the chart? When you use waveforms then the chart uses the timestamp t0 of the waveform(s) for its X axis…
03-19-2024 07:28 AM
GerdWさん、
アドバイスありがとうございます。
軸のオフセット設定を使用することで、問題が解決しそうです。
→X軸の表示を日時からデータ数に変更する際に、オフセットに履歴データの0要素目のt0(日時)を入力する
--------
Hi GerdW,
Thank you for your advise.
Using the axis offset settings solves the problem.
→When changing the X-axis display from date to data count, enter t0 (date) of the 0th element of historical data in the offset.