The Votes Panel Component corresponds to the Votes Field in the Sample Data file. The Votes Panel displays graphs corresponding to the number of received votes for each of the Sample Data items in the requested set. In addition it can act as a control enabling the end-user to quickly cast a vote by clicking on the graph bar corresponding to the relevant Sample Data item.  
 
 
Custom XML Tag
 
 
Use the following XML tag to define custom Properties for the Votes Panel Component within your Custom XML file:  
 
 
<VotesPanel />  
 
 
 
 
 
 
Overriddable Properties  
 
The following generic Properties may either be defined as attributes of the <GraphPanels>
tag or alternatively they may be defined as attributes of the <VotesPanel> tag :  
 
Component Visibility Properties  
All Graphs panels may be excluded from the Pollstar100 UI by defining this Property as false
for the <GraphPanels> tag; alternatively the Votes Panel may be individually excluded from the Pollstar100 UI by defining this Property as false for the <VotesPanel> tag.  
 
Image Properties  
Use these Properties in order to set the panel background image.  
 
Opacity Properties  
Use this Property to set the Component image opacity.  
 
Graph Bar Properties
 
Use these Properties to set the graph bar images for the Votes Panel.  
 
 
 
 
Specialised Properties  
 
The following specific Properties may only be defined as attributes of the <VotesPanel>
tag :  
 
Vote From A Graph Bar  
Use this Property in order to enable/disable the end-users' ability to cast a vote by clicking on a graph bar.  
 
 
 
 
Default Property Values  
 
The following default Property values are defined for the Votes Panel Component:  
 
Property Name
Default Value
Visible
true
Image
undefined
Opacity
100
BorderRadius
0
BorderColour
0
BorderWeight
0
Colours
undefined
UseBarMask
undefined
FGBarImage
undefined
FGBarOpacity
100
FGBarBorderRadius
0
FGBarBorderColour
0
FGBarBorderWeight
1
FGBarColours
undefined
BGBarImage
undefined
BGBarOpacity
100
BGBarBorderRadius
0
BGBarBorderColour
0
BGBarBorderWeight
1
BGBarColours
undefined
ONBarImage
default
ONBarOpacity
100
ONBarBorderRadius
0
ONBarBorderColour
0xFF0000
ONBarBorderWeight
1
ONBarColours
undefined
VoteFromBar
false
 




Related Topics  
 
The following sections provide details on other Properties concerning vote casting and the display of graphical data.  
 
Voting Just Once  
Recustomisation  
Default Graphs View