UI Slide Bar

The updated UI Slide offers more customizability than ever before. From color to slide style the update provides a new dimension of design for the data visualization experience. 

Build a Slide Bar Object

 Creating a Slide Bar Graphical Object To create the Slide Bar you must first generate the structure through funBuildo function

 

s = funBuildo('slider',Tag,Position,...)

 

 Several Axeso funBuildo Structure Properties

Note: There are over +10 fields, not all are covered here

 

Field:        Page

Type:        character vector 

Purpose: The page defines which page the axeso object will be defined on.                      To specify the page the user may use the menu bar.

default:    page is set to 'Home'.

 

Field:        Slider

Type:        character can be 'left', 'center', right'

Purpose: defines how the slide bar looks

default:   FontSize is set 'center'

 

Field:        Values

Type:        1x2 vector double

Purpose: Defines the range of the sliders value

default:   Color is set to [0, 1].

 

Field:        Color

Type:        1x3 vector with elements between 1 and 0, or defined string

Purpose: Defines the color for the menu.

default:   Color is set to [0.2940 0.4069 0.5081].

 

Field:        Radius

Type:       double

Purpose: Defines radius of circle

default:   Color is set to 0.2250.

 

Field:        BarColor

Type:        1x3 vector with elements between 1 and 0, or defined string

Purpose: Defines the color for the Bar.

default:   Color is set to [0.3430 0.4654 0.5750].

 

 

 

After you have created the structure you may generate an object with it by calling the funControl function:

 

handles = funControl('slider',handles,s)

 

Once you have loaded the structure the object has been uploaded. There are several dynamic methods you may perform on the object returned in handles. Such as.

 

obj = handles.(Tag); % pull object from handles

 

handles.(Tag).Visible = 'off'; % turn visibility off

 

handles.(Tag).Visible = 'on'; % turn visibility on

 

info_structure = handles.(Tag).Last; pull on slider position

 

Note: many of the following fields listed above are dynamic!!

 

© 2018 by Alex Geiger

  • Facebook Social Icon
  • LinkedIn Social Icon
  • Google+ Social Icon