Class MVBarChartStyle
MVBarChartStyle represents the client side Bar Chart style.
Constructor Attributes | Constructor Name and Description |
---|---|
MVBarChartStyle(name, width, height, bars)
|
Method Attributes | Method Name and Description |
---|---|
setMaxValue(min)
Sets the bar maximum value.
|
|
setMinValue(min)
Sets the bar minimum value.
|
|
setShareScale(ss)
Sets if the size of bars is to be based in an individual feature, or if it is to based on values
of all map features of the theme.
|
|
setShowXAxis(showx)
Sets if X axis should be rendered.
|
Class Detail
MVBarChartStyle(name, width, height, bars)
- Parameters:
- {string} name
- the name of this style
- {integer} width
- the overall width of the bar chart
- {integer} height
- the overall height of the bar chart
- {Array} bars
- the array containing all the bar definitions
Method Detail
setMaxValue(min)
Sets the bar maximum value.
- Parameters:
- min
- the bar maximum value
- Returns:
setMinValue(min)
Sets the bar minimum value.
- Parameters:
- min
- the bar minimum value
- Returns:
setShareScale(ss)
Sets if the size of bars is to be based in an individual feature, or if it is to based on values
of all map features of the theme.
- Parameters:
- ss
- true means size are related with value of all features, false means the each bar size is independent.
- Returns:
setShowXAxis(showx)
Sets if X axis should be rendered.
- Parameters:
- showx
- true to render X axis, false to not render
- Returns: