Version 2.1 beta #221
uajqq
announced in
Announcements
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The font used for dates within the range finder is fuzzy:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta 1
Version 2.1 adds support for zoomable/scrollable Highcharts charts, for greater interactivity if desired!
This feature can be enabled in
charts.conffor all charts, or section-by-section, or just for individual charts. It can also be disabled individually, too -- for example, you could turn on zooming by default on a page, and only disable it for certain charts.zoom = 1(orzoom = true) turns on zooming (if omitted, it is off by default).zoom_rangeallows you to set the default range that is displayed using number of seconds, or words like "day," "month," etc.WARNING: chart loading can become very slow if you enable long time ranges for each chart. In the example above, even if only a week of data is available by default, all data is loaded and available to display. Use long
time_lengthcharts sparingly unless you are all right with slow loading times!This beta also has the following bug fixes:
Beta 2
Big thanks to @ThomasForeman86 for a full refactor that upgrades the underlying architecture to Bootstrap v5.3.3! That also means we no longer need jQuery, so that has been removed. The new Bootstrap version allows improved menus, and also improved notifications/alerts in the future. It also means a separate dark mode .css file is no longer necessary.
Breaking changes for users with custom content!
The biggest change is a transition to a Bootstrap menu, which handles better in mobile views in particular. responsive-menu.js has been removed! The menu is now customized from an .inc file. There is an example provided,
nav-menu-custom.inc.example, that you can modify to your needs and is preserved across upgrades. The syntax should be similar.If you have custom content that relies on jQuery, that will also have to be redone. I think that would be less common for most users, but please let me know if that is going to be a big issue for people.
Other new features/fixes:
New "threshold line" option in charts.conf (thank you @ThomasForeman86):
This renders a dashed horizontal Highcharts plotLine on the series'
yAxis with an optional right-aligned label - useful for marking fixed
thresholds such as river flood levels, frost points or gale-force
wind speeds. Only yAxis_plotLine_value is required; color defaults to
a red dash and the label is omitted when not set.
Bug fixes:
Beta Was this translation helpful? Give feedback.
All reactions