Validates chart data before it crosses the WASM boundary.
TypeScript number fields that map to Rust u32/i32 are checked
for integer-ness, sign, and ECMA-376 spec ranges where applicable, and
every series order must be unique across the chart and its secondaryChart.
Throws RangeError with a clear message on the first violation.
Validates chart data before it crosses the WASM boundary.
TypeScript
numberfields that map to Rustu32/i32are checked for integer-ness, sign, and ECMA-376 spec ranges where applicable, and every seriesordermust be unique across the chart and itssecondaryChart. ThrowsRangeErrorwith a clear message on the first violation.