pub struct ChartDataSet {Show 19 fields
pub label: Option<String>,
pub currency_id: Option<String>,
pub currency_name: Option<String>,
pub currency_code: Option<String>,
pub currency_symbol: Option<String>,
pub currency_decimal_places: Option<i32>,
pub primary_currency_id: Option<String>,
pub primary_currency_name: Option<String>,
pub primary_currency_code: Option<String>,
pub primary_currency_symbol: Option<String>,
pub primary_currency_decimal_places: Option<i32>,
pub date: Option<String>,
pub start_date: Option<String>,
pub end_date: Option<String>,
pub type: Option<String>,
pub period: Option<ChartDatasetPeriodProperty>,
pub y_axis_id: Option<i32>,
pub entries: Option<Vec<ChartDataPoint>>,
pub pc_entries: Option<Vec<ChartDataPoint>>,
}Fields§
§label: Option<String>This is the title of the current set. It can refer to an account, a budget or another object (by name).
currency_id: Option<String>The currency ID of the currency associated with this object.
currency_name: Option<String>The currency name of the currency associated with this object.
currency_code: Option<String>The currency code of the currency associated with this object.
currency_symbol: Option<String>§currency_decimal_places: Option<i32>§primary_currency_id: Option<String>The currency ID of the administration’s primary currency.
primary_currency_name: Option<String>The currency name of the administration’s primary currency.
primary_currency_code: Option<String>The currency code of the administration’s primary currency.
primary_currency_symbol: Option<String>The currency symbol of the administration’s primary currency.
primary_currency_decimal_places: Option<i32>The currency decimal places of the administration’s primary currency.
date: Option<String>§start_date: Option<String>§end_date: Option<String>§type: Option<String>Indicated the type of chart that is expected to be rendered. You can safely ignore this if you want.
period: Option<ChartDatasetPeriodProperty>§y_axis_id: Option<i32>Used to indicate the Y axis for this data set. Is usually between 0 and 1 (left and right side of the chart).
entries: Option<Vec<ChartDataPoint>>The actual entries for this data set. They ‘key’ value is the label for the data point. The value is the actual (numerical) value.
pc_entries: Option<Vec<ChartDataPoint>>The actual entries for this data set. They ‘key’ value is the label for the data point. The value is the actual (numerical) value.