| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/03/2007 06:57:02
|
speake
Initiate
Joined: 29/03/2007 06:09:00
Messages: 4
Location: Melbourne, Australia
Offline
|
Hi,
Is there any easy way to add custom multistate image sets for the graphical views? If not perhaps you could provide a few words to point me in right direction in the code?
Stew.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/03/2007 09:12:31
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1502
Offline
|
Hi Stew,
Currently image sets are defined in the class com.serotonin.mango.view.ImageSetLoader. By adding a new entry here and putting your images into the /images directory, they should become available. The class should be easy to recompile since it only depends on java.util.* classes.
Eventually we want to make this simpler by, say, loading xml definition files, but this hasn't been worked out yet.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 14/04/2007 08:10:12
|
clark
Initiate
Joined: 26/03/2007 20:40:04
Messages: 5
Location: USA
Offline
|
Hi M@
Under the data_sources.shtm page:
How does on delete data sources that are no longer required? There does not appear to be a way to do this.
You can enable or disable them but cannot delete them.
Is this available or planned for a future release?
Thanks, Clark
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 14/04/2007 09:28:31
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1502
Offline
|
Hi Clark,
Yes, the next version (0.8.0 scheduled for release this month) will include a number of enhancements and upgrades, including the ability to delete data points and data sources.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 14/02/2008 19:57:31
|
knigjes
Initiate
Joined: 11/02/2008 19:05:26
Messages: 13
Offline
|
(maybe this should be in Wish List)
a simple script for adding multistate image sets would greatly improve the product.
while I might be able to hack my way through the programming, I'm not excited about navigating a Java Development Environment and recompiling just to add a picture set.
Mango has a nice GUI interface, and I see on the java.net page that expanding it's icon set is one of your goals. An easier "add set" with some instructions (naming convention etc.) would allow this development to be delegated (esp. if there was a repository we could use to share).
You've got a good thing going here
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 14/02/2008 20:08:53
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1502
Offline
|
Check out the main help documentation. Near the bottom is a section called "Graphics" that describes how to easily add new image sets to Mango. Some of the posts here were made obsolete by this new functionality.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 15/02/2008 18:40:07
|
knigjes
Initiate
Joined: 11/02/2008 19:05:26
Messages: 13
Offline
|
I followed the guidance from the main Help documentation...
This allowed me to add a set of multi-state images that work fine for a Numeric Datatype, when I set the datatype in "Point Properties" to Multistate, then proceed to edit Graphical Views, it won't offer me any options other than "Basic"
Am I doing something wrong?
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 15/02/2008 21:15:10
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1502
Offline
|
No, you're not doing anything wrong. There are image renderers for graphical views for numeric and binary, but for multistate there is only the basic renderer. We will add a such a thing for the next release.
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|