| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Methods Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Properties > MissingValue Property SharpPlot.MissingValue PropertyTells SharpPlot to ignore specific values in data series. public double MissingValue {get; set;} Examplesp.MissingValue = 0; The default setting is 32768. The effect of setting it to zero is to make line graphs skip over zero values, rather than drawing an annoying line down to the axis wherever zero is hit. When you plot an array of data with differing numbers of elements, SharpPlot automatically pads the shorter series with the current missing-value setting. sp.MissingValue = -99; This might be appropriate for data from some logging device, where negative numbers indicate various error conditions. By default, line-graphs simply ‘bridge’ the missing points by joining the points on either side. Use the segmented lines style to have the line broken wherever data is missing. See also ... |