Skip to content

Parameter

wakr70 edited this page Mar 31, 2024 · 12 revisions

By starting H2-HighChart you can handover a lot of settings, how it should be display and what:

new format with compressed settings and full information: (new logic is coming with release 5.6) http://(host):(port)/custom/h2-highchart/H2-HighChart.gy?periode=??&dp=1084|A7|T1|Y0|L2|F22|C0|M0|D0|W2|S0|X1|O0|V2&yaxis=Y0|P0|C0|A0|L0|H0|G11|F1|TWatt&setting=L1|N0|P0|D0|G3|F1|I0|Bstandard|O14|R0|T|S

old format with only not default values: http://(host):(port)/custom/h2-highchart/H2-HighChart.gy?periode=??&dp=131|Y5|L1|V1|A1,???&yaxis=Y0|P0|A1|L5|H70|G11|F0|TWatt,???&room=??&function=??&filterkey=??&zoom=??&legend=false&navigator=false&labels=true&daylight=false&grid=3&filterline=false&theme=dark-green

Parameter:

&periode=(hours) - define periode for loaded data points
&filterkey=(text) - text filter
&room=(text) - room filter
&function=(text) - function filter
&filterline=(false,0,1,2) - define content on screen, 0-no menue and no filterline, 1-no menue, 2-no filterline
&dpfilter=(0,1,2,3) - define datapoint are shown, 0-no inactive no hidden, 1-no hidden, 2-no inactive, 3-all
&zoom=(hours) - define the zoom area in hours
&title=(text) - define title text
&subtitle=(text) - define subtitle text
&legend=(false,0,1,2,3,4,5,6) - 0-no legend displayed, 1-left,2-right,3-in chart top,4-in chart bottom,5-top,6-bottom
&navigator=(false,0,1,2,3,4) - define if navigator is displayed, 0-navigator+scrollbar, 1-navigator, 2-scrollbar, 3-only menue, 4-nothing
&theme= - following themes are supported standard, standard-light, standard-dark, dark-green, avocado, dark-blue, dark-unica, gray, grid-light, grid, skies, sunset,transparent &fontsize= - values between 8 - 100 are possible (new parameter available in version 5.2) &refresh=(seconds) - define refresh time, after defined time the new values will be reloaded and displayed
&daylight=(false,0,1,2,3) - 0-no background, 1-yellow day/gray night, 2-lines at 06:00/22:00, 3-lines at 00:00
&grid=(0,1,2,3,4,5,6) - 0-no grid, 1-horz., 2-vert., 3-both, 4-horz+, 5-vert.+, 6-both+
&labels=(true,0,1,2) - display data point labels with values, 0-no labels, 1-line name on last data point, 2-value labels

Parameters for &dp=id|A0|Y0|L0|F0|C0|M0|V2...

  • id - CCU-Historian-ID
  • A0 - Aggregation (0-no, 1-dyn, 2-delta, 3-min/max, 4-sum, 5-TIME_ON, 6-Time round to min., 7-delta+(only positiv changes))
  • T1 - Aggregation Time (0-dyn, 1-dyn. 15min, 2-no/hour/day, 3-fix hour, 4-fix day, 5-fix week, 6-fix month, 7-fix quarter, 8-fix year, 9-fix 3 hours, 10-fix 6 hours, 11-fix 8 hours, 12-fix 12 hours
  • Y0 - Y-axis (0-19)
  • L0 - Linetype (0-SP-line, 1-Line, 2-Line/left, 3-Line/center, 4-Line/right, 5-Scatter,
    6-SP-Area, 7-Area, 8-Area/left, 9-Area/center, 10-Area/right, 11-column)
  • F0 - Color (0-len out of Themes variable Color)
  • C0 - Comparisation (0-none, 1-day-1, 2-day-2, 3-day-3, 4-day-4, 5-week-1, 6-week-2, 7-week-3, 8-week-4, 9-12-month, 13-year
  • M0 - Marker (0-none, 1-circle, 2-diamont, 3-squar, 4-triangle, 5-triangle-down, 6-plus, 7-cross, 8-star, 9-16 rounded-black, 17-24-rounded-white, 25-32-filled-Black, 33-40-filled-white)
  • V2 - Visible (0-not, 1-deacitated, 2-activated)
  • D0 - Dashtype (0-solid,1-Dash,2-DashDot,3-Dot,4-LongDash,5-LongDashDot,6-LongDashDotDot,7-ShortDash, 8-ShortDashDot,9-ShortDashDotDot,10-ShortDot
  • W2 - Line width (0-10)
  • S0 - Stacking 0-no stacking, 1-5 group for stacking
  • X1 - Multiplication factor of value, standard 1 = no effect
  • O0 - Offset, will be add to every value
  • U(text) - Unit which should be used

Parameters for &yaxis=Y0|P0|A1|L5|H70|G11|F0|TWatt...

  • Y0 - Y-Axis number 0-19
  • P0 - Position 0-left, 1-right
  • A1 - Type of limits 0-dynamic, 1-soft, 2-hard
  • L5 - Min. Limit
  • H70 - Max. Limit
  • G11 - Count of Ticks
  • F0 - Color (0-Theme default, 1-1.Series, 2-? Fix Theme colors)
  • T(text) - Title of Y-Axis

Parameters for &setting=L5|N3|P2|D0|G3|F1|I0|Bstandard|O14|R0|T|S... (this parameter is coming with release 5.6)

  • L5 - (false,0,1,2,3,4,5,6) - 0-no legend displayed, 1-left,2-right,3-in chart top,4-in chart bottom,5-top,6-bottom
  • N3 - (false,0,1,2,3,4) - define if navigator is displayed, 0-navigator+scrollbar, 1-navigator, 2-scrollbar, 3-only menue, 4-nothing
  • P2 - (true,0,1,2) - display data point labels with values, 0-no labels, 1-line name on last data point, 2-value labels
  • D0 - (false,0,1,2,3) - 0-no background, 1-yellow day/gray night, 2-lines at 06:00/22:00, 3-lines at 00:00
  • G3 - (0,1,2,3,4,5,6) - 0-no grid, 1-horz., 2-vert., 3-both, 4-horz+, 5-vert.+, 6-both+
  • F1 - (false,0,1,2) - define content on screen, 0-no menue and no filterline, 1-no menue, 2-no filterline
  • I0 - (0,1,2,3) - define datapoint are shown, 0-no inactive no hidden, 1-no hidden, 2-no inactive, 3-all
  • B(name) - following themes are supported standard, standard-light, standard-dark, dark-green, avocado, dark-blue, dark-unica, gray, grid-light, grid, skies, sunset,transparent
  • O14 - - values between 8 - 100 are possible (new parameter available in version 5.2) default 14
  • R0 - (seconds) - define refresh time, after defined time the new values will be reloaded and displayed (0 - disable, default 60)
  • T(text) - define title text
  • S(text) - define subtitle text