constructor CustomBar [line 72]
CustomBar CustomBar(
[
$c = null])
|
|
Tags:
Parameters:
destructor __destruct [line 86]
method applyBarOffset [line 977]
void applyBarOffset(
$position)
|
|
Tags:
Parameters:
method barMargin [line 750]
Returns side margin amount in pixels.
Tags:
method barRectangle [line 655]
void barRectangle(
barColor
$barColor, r
$r)
|
|
For internal use.
Displays a Bar or HorizBar point using the parameter coordinates and the BarColor parameter.
It is internally called for each point in the Series.
The BarStyle property determines the type of graphical representation of every point (ie: Rectangle, Ellipse, Pyramid, etc).
Tags:
Parameters:
method calcMarkLength [line 985]
void calcMarkLength(
$valueIndex)
|
|
Tags:
Parameters:
method calcZOrder [line 863]
method doBarGradient [line 697]
void doBarGradient(
$valueIndex,
$rect)
|
|
Tags:
Parameters:
method doBeforeDrawChart [line 904]
method doGetBarStyle [line 591]
void doGetBarStyle(
$valueIndex)
|
|
Tags:
Parameters:
method doGradient3D [line 631]
void doGradient3D(
$valueIndex,
$p0,
$p1)
|
|
Tags:
Parameters:
method drawLegendShape [line 970]
void drawLegendShape(
$g,
$valueIndex,
$rect)
|
|
Tags:
Overrides
Series::drawLegendShape() (parent method not documented)
Parameters:
method getAutoMarkPosition [line 391]
boolean getAutoMarkPosition(
)
|
|
Repositions Marks on BarSeries to prevent overlapping.
Marks are displaced to the top of the Bars to minimize the overlapping effect of Marks with long text or big font sizes.
When false, no checking is performed and all Marks are drawn at their Mark.ArrowLength distance to the top of the Bar.
Default value: false
Tags:
method getBarBounds [line 555]
Coordinates of current Bar point being displayed.
Run-time and read-only.
This function returns an internal variable, that is calculated only when the Bar Series DrawValue method is called.
You should only use BarBounds in custom-derived series, after calling the "inherited DrawValue" method.
Tags:
method getBarBoundsMidX [line 559]
method getBarStyle [line 455]
Defines the Bar shape used to draw Bars.
Default value: BarStyle.Rectangle
Tags:
method getBrush [line 486]
Defines the Brush used to fill Bars.
When BarBrush.Style is different than bsSolid, the Series.Color color is the background bar color.
Tags:
method getConePercent [line 411]
The apex size as percentage of the base.
Default value: 0
Tags:
method getCustomBarWidth [line 706]
void getCustomBarWidth(
)
|
|
Tags:
method getDark3D [line 243]
Darkens sides of bars to enhance 3D effect.
This has effect only when Chart.Aspect.View3D is true.
High color video modes (greater than 256 colors) will show dark colors much better than 256 or 16 color modes.
Default value: true
Tags:
method getDepthPercent [line 215]
Determines the percent amount of bar size in "z" depth direction.
Default value: 100%
Tags:
method getGradient [line 146]
Defines the color Gradient used to fill the Bars.
These can be filled with these three colors: StartColor, MidColor, EndColor. You can control the drawing output by setting the Direction method.
Use the Visible property to show / hide filling.
<p>Example:
$barSeries = new Bar(myChart->getChart());
$barSeries->getMarks()->setVisible(true);
$barSeries->fillSampleValues(6);
$barSeries->setColor(new Color(255,0,0));
$barSeries->setBarStyle(BarStyle::$RECTGRADIENT);
$barSeries->getGradient()->setDirection(GradientDirection::$VERTICAL);
$barSeries->getGradient()->setStartColor(Color.GREEN);
$barSeries->getGradient()->setUseMiddle(false);
$barSeries->getGradient()->setMiddleColor(Color.YELLOW);
</p>
Tags:
method getGradientRelative [line 156]
boolean getGradientRelative(
)
|
|
Calculates Colors based on highest bar when Gradient is Visible.
Default value: false
Tags:
method getMultiBar [line 512]
Determines how multiple BarSeries will be displayed in the same
Chart.
If you have more than one Bar series in the same Chart, then you can choose if they will be drawn side-by-side, back-to-front or Stacked.
Side-by-side means the Bar width will be divided by the number of Bar Series.
Default value: MultiBars.Side
Tags:
method getOffsetPercent [line 434]
The Bar displacement as percentage of Bar size.
Displacement is horizontal for Bar series and vertical for HorizBar series. It can be used to create "overlayed" Bar charts.
You can specify positive or negative values.
Default value: 0
Tags:
method getOrigin [line 367]
The common bottom value used for all Bar points.
UseOrigin must be true (the default) to use the Origin property.
Bars with a value bigger than Origin are drawn in one direction and Bars with a lower value are drawn in the opposite direction.
This applies both to Bar series and HorizBar series classes.
Default value: 0
Tags:
method getPen [line 537]
Pen used to draw the Bar rectangles.
You can set BarPen.Visible = false to hide these lines.
Tags:
method getSideMargins [line 297]
boolean getSideMargins(
)
|
|
Margin between Chart rectangle and Bars.
Default value: true
Tags:
method getStackGroup [line 177]
Allows stacking independent Series within the same Chart, in series groups.
Default value: 0
Tags:
method getUseOrigin [line 343]
Bars to be bottom aligned at the Origin method value.
When false, the minimum of all Bar values is used as the Bar origins value.
When true, the Origin property is used as the start point for Bars.
Default value: true
Tags:
method getYOrigin [line 321]
Obsolete. Please use CustomBar.<!-- -->Origin instead.
Tags:
method internalApplyBarMargin [line 761]
void internalApplyBarMargin(
$margins)
|
|
Tags:
Parameters:
method internalCalcMarkLength [line 599]
method internalClicked [line 999]
method internalGetOriginPos [line 768]
void internalGetOriginPos(
$valueIndex,
$defaultOrigin)
|
|
Tags:
Parameters:
method maxMandatoryValue [line 787]
void maxMandatoryValue(
$value)
|
|
Tags:
Parameters:
method minMandatoryValue [line 840]
void minMandatoryValue(
$value)
|
|
Tags:
Parameters:
method numSampleValues [line 1036]
int numSampleValues(
x
0, y
1)
|
|
Returns the ValueIndex of the "clicked" point in the Series.
Clicked means the X and Y coordinates are in the point screen region bounds. If no point is "touched", Clicked returns -1
Tags:
Overrides
Series::numSampleValues() (parent method not documented)
Parameters:
method pointOrigin [line 824]
double pointOrigin(
valueIndex
$valueIndex, sumAll
$sumAll)
|
|
For Internal Use.
The PointOrigin function returns the summed values of more than one Series point.
It's only used by Series types with Stacked or Stacked 100% styles such as BarSeries, HorizBar series and Area series.
Tags:
Overridden in child classes as:
- Bar3D::pointOrigin()
- Returns the corresponding screen pixels coordinate of the leftmost horizontal bar edge.
Parameters:
method prepareForGallery [line 257]
method removeBarStyleResolver [line 121]
void removeBarStyleResolver(
)
|
|
Tags:
method setAutoMarkPosition [line 401]
void setAutoMarkPosition(
value
$value)
|
|
Repositions Marks on BarSeries to prevent overlapping.
Default value: false
Tags:
Parameters:
method setBarSizePercent [line 263]
void setBarSizePercent(
$value)
|
|
Tags:
Parameters:
method setBarStyle [line 466]
void setBarStyle(
value
$value)
|
|
Defines the Bar shape used to draw Bars.
Default value: BarStyle.Rectangle
Tags:
Parameters:
method setBarStyleResolver [line 117]
void setBarStyleResolver(
$resolver)
|
|
Tags:
Parameters:
method setChart [line 490]
method setConePercent [line 421]
void setConePercent(
value
$value)
|
|
Sets the apex size as a percentage of the base.
Default value: 0
Tags:
Parameters:
method setCustomBarWidth [line 710]
void setCustomBarWidth(
$value)
|
|
Tags:
Parameters:
method setDark3D [line 253]
void setDark3D(
value
$value)
|
|
Darkens sides of bars to enhance 3D effect.
Default value: true
Tags:
Parameters:
method setDepthPercent [line 230]
void setDepthPercent(
value
$value)
|
|
Determines the percent amount of bar size in "z" depth direction.
Default value: 100%
<p>Example:
series.setDepthPercent(50) ; // % of 3D depth
</p>
Tags:
Parameters:
method setGradientRelative [line 166]
void setGradientRelative(
value
$value)
|
|
Calculates Colors based on highest bar when Gradient is Visible.
Default value: false
Tags:
Parameters:
method setMultiBar [line 523]
void setMultiBar(
value
$value)
|
|
Determines how multiple BarSeries will be displayed in the same Chart.
Default value: MultiBars.Side
Tags:
Parameters:
method setOffsetPercent [line 444]
void setOffsetPercent(
value
$value)
|
|
Sets the Bar displacement as percentage of Bar size.
Default value: 0
Tags:
Parameters:
method setOrigin [line 377]
void setOrigin(
value
$value)
|
|
Sets the common bottom value used for all Bar points.
Default value: 0
Tags:
Parameters:
method setPenBrushBar [line 1049]
void setPenBrushBar(
$barColor)
|
|
Tags:
Parameters:
method setSideMargins [line 307]
void setSideMargins(
value
$value)
|
|
Sets a margin between Chart rectangle and Bars.
Default value: true
Tags:
Parameters:
method setStackGroup [line 194]
void setStackGroup(
value
$value)
|
|
Allows stacking independent Series within the same Chart, in series groups.
Default value: 0
Example:
bar1Series.setStackGroup(0);
bar2Series.setStackGroup(1);
Tags:
Parameters:
method setUseOrigin [line 353]
void setUseOrigin(
value
$value)
|
|
Allows Bars to be bottom aligned at the Origin method value.
Default value: true
Tags:
Parameters:
method setYOrigin [line 330]
void setYOrigin(
value
$value)
|
|
Obsolete. Please use CustomBar.<!-- -->Origin instead.
Tags:
Parameters:
method setZPositions [line 198]
method shouldSerializeYOrigin [line 312]
void shouldSerializeYOrigin(
)
|
|
Tags:
method subGalleryStack [line 1060]
method _barRectangle [line 673]
void _barRectangle(
barColor
$barColor, aLeft
$aLeft, aTop
$aTop, aRight
$aRight, aBottom
$aBottom)
|
|
For internal use.
Displays a Bar or HorizBar point using the parameter coordinates and the BarColor parameter.
It is internally called for each point in the Series.
The BarStyle property determines the type of graphical representation of every point (ie: Rectangle, Ellipse, Pyramid, etc).
Tags:
Parameters:
method __get [line 58]
method __set [line 65]