Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Tutorial about Vis. Graphics

SpaceLogic KNX Forum

Schneider Electric SpaceLogic KNX forum to get support and share knowledge including selection, installation and troubleshooting for spaceLYnk, Wiser for KNX, eConfigure KNX, SpaceLogic KNX Hybrid module and other topics.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • Light and Room Control
  • SpaceLogic KNX Forum
  • Tutorial about Vis. Graphics
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Thomas_Rohde
Sisko Thomas_Rohde Sisko
121
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
54
Heribert_Dölger
Lt. Commander Heribert_Dölger Lt. Commander
30
FZetina
Lt. Commander FZetina Lt. Commander
27
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to SpaceLogic KNX Forum
Solved
CLavergne
Ensign CLavergne
Ensign

Posted: ‎2024-07-15 09:19 AM

0 Likes
7
779
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-07-15 09:19 AM

Tutorial about Vis. Graphics

Good afternoon all,

I'm searching a way to personnalize visualisation graphics (icons, sliders, etc). Is there a tutorial or a documentation about this?

Thanks

Labels
  • Labels:
  • SpaceLYnk
Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2024-07-18 05:32 AM . Last Modified: ‎2024-07-18 11:04 PM

0 Likes
0
672
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-07-18 05:32 AM

@CLavergne 

 

There are 2 sections in the controller:

 

1) Custom CSS that you can find under Configurator -> Vis. Graphics -> Edit Custom CSS, here you can place CSS that can override the default CSS, additionally you can set additional classes on object level in the plan editor to help you get unique handles on elements in the DOM.

 

2) Custom JS can be found under Configurator ->  Scripting -> Tools -> Black Arrow -> Edit custom JavaScript, here you can place JS that listen to object changes and execute additional JS actions when a value change occurs or any other JS you might want to execute.

 

A sample of custom CSS could be changing the slider by setting the additional class of a slider to slider-alt, enable Show Control and add this CSS to the Edit Custom CSS section:

 

.slider-alt .slider-min,

.slider-alt .slider-max {

  display: none;

}

.slider-alt .slider {

  overflow: hidden;

  padding: 13px 0;

}

.slider-alt .slider .progress {

  height: 4px;

  margin: 0;

  border: none;

  border-radius: 0;

  box-shadow: none;

  background-color: #ccc;

}

.slider-alt .slider .slider-handle {

  background-clip: padding-box;

  background-color: #fff;

  background-image: none;

  border-radius: 50%;

  border-color: #bbb;

  box-sizing: border-box;

  height: 24px;

  padding: 0;

  width: 24px;

}

.touch .slider-alt .slider .slider-handle {

  margin-top: 3px;

}

.usermode .slider-alt .slider {

  width: 250px;

}

.slider-alt .slider .slider-handle:before {

  background: #5bb75b;

  content: ' ';

  height: 4px;

  left: -301px;

  pointer-events: none;

  position: absolute;

  top: 9px;

  width: 300px;

}

.slider-alt .slider-value span {

  border-radius: 0;

}

 

A sample of Custom JS can be changing the background of a value item based on temperature where 3/0/0 is the measured temperature, you can do that like this when setting the additional class of the element to temp1 and add script below to the Edit Custom JS section:

 

$(function(){
if (typeof grp != 'undefined') {
grp.listen('3/0/0', function(object, state) {
if (object.value < 17) {
   $(".temp1.item-bg").css({"background":"rgb(60 105 231 / 65%)"});
} else if (object.value >= 17 && object.value <= 21) {
   $(".temp1.item-bg").css({"background":"rgb(220 233 15 / 75%)"});
} else {
   $(".temp1.item-bg").css({"background":"rgb(233 15 15 / 85%)"});
}
}, true);
}
});

 

There are many other things you can do so try this as a starting point..

See Answer In Context

Reply
Replies 7
Thomas_Rohde
Sisko Thomas_Rohde Sisko
Sisko

Posted: ‎2024-07-16 01:24 AM

0 Likes
0
741
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-07-16 01:24 AM

Hello CLavergne,

unfortunately we do not have such kind of tutorial/documentation. Sorry!

 

Kind regards
Thomas

Application Design Engineer
Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2024-07-16 09:31 PM

1 Like
0
711
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-07-16 09:31 PM

Good starting point is w3schools, here you can learn everything about html, css and javascript, those 3 skills are required to change the html structure of the visu and customization of sliders, icons and standard behavior by using the power of custom JavaScript and custom CSS, due to the complexity and huge possibilities it’s impossible to put it in a manual

Reply
CLavergne
Ensign CLavergne
Ensign

Posted: ‎2024-07-17 10:59 PM

0 Likes
0
689
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-07-17 10:59 PM

Thanks Ervin,

 

I already know some things about html and javascript. I would like to know how to implement in the controllers. 

Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2024-07-18 05:32 AM . Last Modified: ‎2024-07-18 11:04 PM

0 Likes
0
673
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-07-18 05:32 AM

@CLavergne 

 

There are 2 sections in the controller:

 

1) Custom CSS that you can find under Configurator -> Vis. Graphics -> Edit Custom CSS, here you can place CSS that can override the default CSS, additionally you can set additional classes on object level in the plan editor to help you get unique handles on elements in the DOM.

 

2) Custom JS can be found under Configurator ->  Scripting -> Tools -> Black Arrow -> Edit custom JavaScript, here you can place JS that listen to object changes and execute additional JS actions when a value change occurs or any other JS you might want to execute.

 

A sample of custom CSS could be changing the slider by setting the additional class of a slider to slider-alt, enable Show Control and add this CSS to the Edit Custom CSS section:

 

.slider-alt .slider-min,

.slider-alt .slider-max {

  display: none;

}

.slider-alt .slider {

  overflow: hidden;

  padding: 13px 0;

}

.slider-alt .slider .progress {

  height: 4px;

  margin: 0;

  border: none;

  border-radius: 0;

  box-shadow: none;

  background-color: #ccc;

}

.slider-alt .slider .slider-handle {

  background-clip: padding-box;

  background-color: #fff;

  background-image: none;

  border-radius: 50%;

  border-color: #bbb;

  box-sizing: border-box;

  height: 24px;

  padding: 0;

  width: 24px;

}

.touch .slider-alt .slider .slider-handle {

  margin-top: 3px;

}

.usermode .slider-alt .slider {

  width: 250px;

}

.slider-alt .slider .slider-handle:before {

  background: #5bb75b;

  content: ' ';

  height: 4px;

  left: -301px;

  pointer-events: none;

  position: absolute;

  top: 9px;

  width: 300px;

}

.slider-alt .slider-value span {

  border-radius: 0;

}

 

A sample of Custom JS can be changing the background of a value item based on temperature where 3/0/0 is the measured temperature, you can do that like this when setting the additional class of the element to temp1 and add script below to the Edit Custom JS section:

 

$(function(){
if (typeof grp != 'undefined') {
grp.listen('3/0/0', function(object, state) {
if (object.value < 17) {
   $(".temp1.item-bg").css({"background":"rgb(60 105 231 / 65%)"});
} else if (object.value >= 17 && object.value <= 21) {
   $(".temp1.item-bg").css({"background":"rgb(220 233 15 / 75%)"});
} else {
   $(".temp1.item-bg").css({"background":"rgb(233 15 15 / 85%)"});
}
}, true);
}
});

 

There are many other things you can do so try this as a starting point..

Reply
CLavergne
Ensign CLavergne
Ensign

Posted: ‎2024-07-22 04:31 AM

1 Like
0
621
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-07-22 04:31 AM

Thanks @Erwin-vd-Zwart , i will test your code.

Have a nice day

Reply
Thomas_Rohde
Sisko Thomas_Rohde Sisko
Sisko

Posted: ‎2024-07-23 11:43 PM

0 Likes
0
612
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-07-23 11:43 PM

Hi CLavergne!
Maybe you can share more in detail what you are looking for or you plan to realize?

Kind regards
Thomas

Application Design Engineer
Reply
CLavergne
Ensign CLavergne
Ensign

Posted: ‎2024-07-24 08:10 PM

0 Likes
0
586
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-07-24 08:10 PM

I'm thinking about it and will let you know!

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of