Load data from CSV files
masterThe plugin supports both external and internal CSV data loading.
Import external CSV (Desktop)
Use the command Charts View: Import data from external CSV file to select and import a file from your local system.
Load internal CSV
To load a CSV file stored within your Obsidian vault, specify the filename in the data field. Note that the data path must be configured in the plugin settings.
Example: Loading multiple CSV files for DualAxes
type: DualAxes
data: DualAxesData.csv, DualAxesData.csv
options:
xField: 'time'
yField: ['value', 'count']
yAxis:
value:
min: 0
label:
formatter: function formatter(val) { return ''.concat(val, '个'); }
geometryOptions:
- geometry: 'column'
- geometry: 'line'
lineStyle:
lineWidth: 2