Logic Machine Forum
Css Graph - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Css Graph (/showthread.php?tid=4282)

Pages: 1 2


RE: Css Graph - Amelie - 02.07.2024

Can you also change the title of the text. Now, there is written 'Course Multiples', let's say I want to change it in 'Room temperature'.


RE: Css Graph - admin - 02.07.2024

Add this to Custom JS, change the path comparison string at line 5 as needed:
Code:
$(function() {
  var loc = window.location;
  var path = loc.pathname + loc.search;

  if (path == '/scada-vis/trends?id=1,3,5&mode=week&multiple=1') {
    $('.title').text('Room temperature');
  }
});