Skip to content

Commit

Permalink
Merge pull request highcharts#22126 from highcharts/22113-responsiven…
Browse files Browse the repository at this point in the history
…ess-mqtt-custom-conn

22113 responsiveness mqtt custom connector
  • Loading branch information
sebastianbochan authored Nov 22, 2024
2 parents cc830e0 + 690a3ac commit 5f80525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/dashboards/data/mqtt-connector/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>MQTT log</h1>
</div>
</div>

<div class="description">
<div id="description">
<p>This demo shows how to connect to an <a href="https://mqtt.org/" target="-blank">MQTT</a>
broker and subscribe to a topic. The data is then displayed in a <i>Highcharts chart</i> and a <i>Dashboards datagrid</i>.
The demo also shows how to implement a <i>Custom Connector</i> in Javascript, in his case MQTT. The Custom
Expand Down
2 changes: 1 addition & 1 deletion samples/dashboards/data/mqtt-connector/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const dataGridOptions = {
},
cells: {
formatter: function () {
return Highcharts.dateFormat('%Y-%m-%d, %H:%M:%S', this.value);
return Highcharts.dateFormat('%H:%M:%S', this.value);
}
}
}, {
Expand Down

0 comments on commit 5f80525

Please sign in to comment.