Jump to content

Test/RiskGraph BackwardCompat

From RiskiPedia

This test page verifies backward compatibility with the old single-series format.

Simple Model

RiskModel: Test/RiskGraph BackwardCompat:LinearRisk
Sorted Parameters:
  risk = {{#expr: 0.1 * {x} }}
Content: 
Linear risk model: risk = 0.1 * x


Old Format: Single Series with y-axis

This graph uses the old y-axis parameter (pre-multi-series).

Loading graph...

New Format: Single Series

This graph uses the new series format with only one series.

Loading graph...

Expected Results

Both graphs should:

  • Show identical data (linear increase from 0 to 1)
  • Work correctly without errors
  • First graph should have NO legend (old format, single series)
  • Second graph should have NO legend (new format, but only 1 series)
  • Both should be responsive and interactive

This confirms that:

  • Old pages with y-axis continue to work
  • New single-series graphs also work
  • Legend is correctly hidden for single series