Logic Machine Forum
Trend log graph in vis. - 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: Trend log graph in vis. (/showthread.php?tid=5599)



Trend log graph in vis. - PolymorphedCust - 04.09.2024

Hi 

Is it possible to have a graph with selected trends, from the trend log, directly in the visualization, without having to press to go to trends nor have a widget pop up etc.? Like, having the graph shown in the main page.

Thought it might be somehow fetching the selected values from the trendlogs and displaying them afterwards.

Thanks!


RE: Trend log graph in vis. - Daniel - 04.09.2024

Use frame for this. There is Direct link in trend tab for displaying particular trends.


RE: Trend log graph in vis. - PolymorphedCust - 28.10.2024

I got it done !

I now realize, though, that when the display form is weekly; on monday we see 6,5 day empty and only the 12 first hours of monday. Is it possible to display the last 7*24 hours, instead of locking the trend table on monday through to sunday?

And:
When I enter this in the Custom CSS:
Code:
.trends .navbar .btn {
    display: none !important;
}

.trends .btn-group {
    display: none !important;
}

.trends .container {
  background: #006d4d!important;
  border-radius: 15px;
}

.trends .navbar h4.title {
  color: white;
}
.trends .flotr-legend.flotr-legend-left {
    opacity: 50%;
}

.navbar .current {
    color: #fbff00;
}

.schedulers .navbar .btn {
    display: none !important;
}

I thought it would only affect the visualization "app". But when I, as admin, enter the schedulers and trends, my buttons are gone. 
That does, so I can't mark fx the "multiple trends" function.
Is there a work-around of this? 

Thanks!


RE: Trend log graph in vis. - Daniel - 28.10.2024

This is hiding the multiple select
.trends .btn-group {
display: none !important;
}


RE: Trend log graph in vis. - admin - 28.10.2024

Change all .trends selectors to .view-frame.trends:
Code:
.view-frame.trends .btn-group {
  display: none !important;
}



RE: Trend log graph in vis. - PolymorphedCust - 13.11.2024

Thanks! That made it possible to navigate properly in trends.

Any solution for the viewing of the last 7 days instead of monday through sunday?


RE: Trend log graph in vis. - admin - 19.11.2024

At this moment the weekly view is fixed Monday-Sunday. We will consider implementing other view later.
Trends widget in Mosaic supports showing values for the past X days.


RE: Trend log graph in vis. - icuzz - 16.12.2024

(19.11.2024, 13:55)admin Wrote: At this moment the weekly view is fixed Monday-Sunday. We will consider implementing other view later.
Trends widget in Mosaic supports showing values for the past X days.

Can you use the mosaic trend widget in normal visu?


RE: Trend log graph in vis. - admin - 17.12.2024

Not possible


RE: Trend log graph in vis. - PolymorphedCust - 17.02.2025

When adding an iFrame with multiple trends, it's called "Multiple Trends", and I can't seem to find a field to change this. Is there a straight forward way to do this, so I can call it what it is, instead of just "Multiple Trends" ?

Thanks!


RE: Trend log graph in vis. - admin - 18.02.2025

Custom JS:
Code:
$(function() {
  if (window.location.search == '?id=1,3,4&mode=month&multiple=1') {
    $('.title').text('custom title');
  }
})



RE: Trend log graph in vis. - PolymorphedCust - 18.02.2025

(18.02.2025, 07:38)admin Wrote: Custom JS:
Code:
$(function() {
  if (window.location.search == '?id=1,3,4&mode=month&multiple=1') {
    $('.title').text('custom title');
  }
})

Thank you very much! Smile


RE: Trend log graph in vis. - forsterm - 18.02.2025

However, if I then deselect a trend or select it again, the old title “Multiple Trends” is displayed again.
Is it also possible to continue to display the user-defined title if I deselect a selected trend, or deselect it and then select it again?


(18.02.2025, 07:38)admin Wrote: Custom JS:
Code:
$(function() {
  if (window.location.search == '?id=1,3,4&mode=month&multiple=1') {
    $('.title').text('custom title');
  }
})



RE: Trend log graph in vis. - admin - 25.02.2025

Add to CSS:
Code:
.trends .navbar h4 {
  text-align: center;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 24px;
}

Modify Custom JS:
Code:
$(function() {
  if (window.location.search == '?id=1,3,4&mode=month&multiple=1') {
    $('.title').removeClass('title').text('custom title');
  }
})