Fixing a placeholder for the font size field.Improving wrapping of the panel elements to be more responsive to different panel sizes.To build a production build with minification: yarn build Create new dashboard and add the plugin.Log in with username "admin" and password "admin".Check the logs to see that Grafana has started up: docker logs -f grafana-plugin-dev.Run a local Grafana instance with the development version of the plugin: docker run -p 3000:3000 -d -name grafana-plugin-dev -env GF_AUTH_ANONYMOUS_ORG_ROLE="Admin" -env GF_AUTH_ANONYMOUS_ENABLED="true" -env GF_AUTH_BASIC_ENABLED="false" -env GF_DEFAULT_APP_MODE="development" -volume $(pwd)/dist:/var/lib/grafana/plugins/clock-panel grafana/grafana.install project dependencies: yarn install -pure-lockfile.Screenshot of two clocks and a countdown.The clock is paused and only updated when the dashboard refreshes - the clock will show the timestamp for the last refresh. If the seconds ticking annoys you then change the time format to HH:mm for the 24 hour clock or h:mm A for the 12 hour clock, or see the full list of formatting options.Ĭhoose a background color for the clock with the color picker. The font size, weight and date/time formatting can be customized here. The text to show before the countup starts. Used in conjunction with the mode being set to countup. The text to show when the countdown ends. $) to dynamically set the countdown deadline for the Dashboard. This field also supports dashboard (constant) variables (e.g. Used in conjunction with the mode being set to countdown. ![]() The locale can be set or left to default. Locales for date-formatting are supplied by the moment library. Timezone is also used to calculate countdown deadline in countdown mode. Default is moment's guess (whatever that is on your computer). ![]() This timezones are supplied by the moment timezone library. If countup is chosen then set the Countup Begin Time to start the countup. If countdown is chosen then set the Countdown End Time to start the countdown. Show the time in another office or show a countdown/countup to an important event. The Clock Panel can show the current time or a countdown/countup and updates every second.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |