pub type NcPlotOptions = ncplot_options;Aliased Type§
#[repr(C)]pub struct NcPlotOptions {
pub maxchannels: u64,
pub minchannels: u64,
pub legendstyle: u16,
pub gridtype: u32,
pub rangex: i32,
pub title: *const u8,
pub flags: u64,
}Fields§
§maxchannels: u64channels for the maximum and minimum levels. linear or exponential interpolation will be applied across the domain between these two.
minchannels: u64§legendstyle: u16styling used for the legend, if NCPLOT_OPTION_LABELTICKSD is set
gridtype: u32number of “pixels” per row x column
rangex: i32independent variable can either be a contiguous range, or a finite set of keys. for a time range, say the previous hour sampled with second resolution, the independent variable would be the range [0..3600): 3600. if rangex is 0, it is dynamically set to the number of columns.
title: *const u8optional, printed by the labels
flags: u64bitfield over NCPLOT_OPTION_*
Implementations§
Source§impl NcPlotOptions
impl NcPlotOptions
Sourcepub const DETECTMAXONLY: u32 = 16u32
pub const DETECTMAXONLY: u32 = 16u32
Use domain detection only for max
Sourcepub const EXPONENTIALD: u32 = 2u32
pub const EXPONENTIALD: u32 = 2u32
Exponential dependent axis
Sourcepub const LABELTICKSD: u32 = 1u32
pub const LABELTICKSD: u32 = 1u32
Show labels for dependent axis