Allow to change history scale in custop pages

Issue #218 resolved
Zaher Salman created an issue

With the old histories it was possible to define “data-scale” changing its scale from default in a custom page. It would be nice to have this feature implemented also in the mjshistory.

Comments (6)

  1. dd1

    Yes, in the old system, you could specify this in the URL. I am not sure if the new system implements this. For changing the time scale, I am used to edit the URL (select 7 day scale, add a zero to get the 70 day scale, etc). And I miss this in the new system. Maybe Stefan can bring it back? K.O.

  2. Stefan Ritt

    Are you talking about the horizontal or vertical scale? Can you give an example how you used that in the old system?

  3. Zaher Salman reporter

    I meant the horizontal scale, for example to show the last 30 minutes only:

    '<a href="../HS/LowTemp/SampleTemp" target"_blank"><image id="LTTemp" x="21000" y="1000" '+size+' href="../HS/LowTemp/SampleTemp.gif?width=230&scale=0.5h"/></a>'

  4. Zaher Salman reporter

    Sorry, but this works only for mhistory class but it did not work for mjshistory class. Am I missing something?

  5. Log in to comment