Location: A review of cardiac cellular electrophysiology models @ 1c3a018574af / dojo-presentation / js / dojo / dojox / charting / tests / test_win2d.html

Author:
David Nickerson <david.nickerson@gmail.com>
Date:
2023-04-27 23:14:49-07:00
Desc:
Updates to get things working with OpenCOR 0.7.1
Permanent Source URI:
http://models.cellml.org/workspace/a1/rawfile/1c3a018574af68610e2b95973f32fa831ea3096f/dojo-presentation/js/dojo/dojox/charting/tests/test_win2d.html

Scaling, scrolling, and panning.

UI explained:

  • Use Scale X and Scale Y to zoom in the chart. You can scale the chart anisotropically.
  • Use Offset X and Offset Y to move the origin of the chart.
  • You cannot move the chart outside its boundaries.
    • Example: if both scale factors are 1, you cannot move the origin — you should zoom in first.
  • After applying scale/offset to the chart, sliders' positions change to reflect actual values.
  • When you zoomed in, you can grab chart with mouse and move around (pan).
    • Warning: can be slow on some browsers.
Scale X (1)
Scale Y (1)
Offset X (0)
Offset Y (0)

That's all Folks!