This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Custom Trend iFrame
#1
Hi All,
Would like to customize a trend vis that is part of an iFrame in the main visualization.
Would like to hide the following
Graph and Data buttons
Right and Left Navigation Buttons
Reply
#2
Add to Custom CSS:
Code:
.trends.view-frame .content .btn-group,
.trends.view-frame .btn-next,
.trends.view-frame .btn-prev {
  display: none;
}
Reply
#3
(22.10.2021, 06:48)admin Wrote: Add to Custom CSS:
Code:
.trends.view-frame .content .btn-group,
.trends.view-frame .btn-next,
.trends.view-frame .btn-prev {
  display: none;
}

Thanks Admin, that work great for iFrames for Trends generated on the local LM, but our central MQTT Broker LM is using the Direct Link address in the URL for the iFrame for each of our remote sites and to complicate thing a little further the iFrame is widget. So unfortunately the CSS does work.

Any other suggestion I would appreciate
Reply
#4
The same CSS should be placed on all LMs. You can try removing .view-frame from all CSS selectors and see if it changes anything.
Reply
#5
(22.10.2021, 08:25)admin Wrote: The same CSS should be placed on all LMs. You can try removing .view-frame from all CSS selectors and see if it changes anything.

Thank you again, appreciated.
Works by using adding the css in each remote LM
Reply


Forum Jump: