constructor CustomBar [line 63]
CustomBar CustomBar(
[
$c = null])
|
|
Tags:
Parameters:
method applyBarOffset [line 937]
void applyBarOffset(
$position)
|
|
Tags:
Parameters:
method barMargin [line 710]
Returns side margin amount in pixels.
Tags:
method barRectangle [line 615]
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 945]
void calcMarkLength(
$valueIndex)
|
|
Tags:
Parameters:
method calcZOrder [line 823]
method clicked [line 972]
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::clicked() (parent method not documented)
Parameters:
method doBarGradient [line 657]
void doBarGradient(
$valueIndex,
$rect)
|
|
Tags:
Parameters:
method doBeforeDrawChart [line 864]
method doGetBarStyle [line 551]
void doGetBarStyle(
$valueIndex)
|
|
Tags:
Parameters:
method doGradient3D [line 591]
void doGradient3D(
$valueIndex,
$p0,
$p1)
|
|
Tags:
Parameters:
method drawLegendShape [line 930]
void drawLegendShape(
$g,
$valueIndex,
$rect)
|
|
Tags:
Overrides
Series::drawLegendShape() (parent method not documented)
Parameters:
method getAutoMarkPosition [line 351]
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 515]
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 519]
method getBarStyle [line 415]
Defines the Bar shape used to draw Bars.
Default value: BarStyle.Rectangle
Tags:
method getBrush [line 446]
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 371]
The apex size as percentage of the base.
Default value: 0
Tags:
method getCustomBarWidth [line 666]
void getCustomBarWidth(
)
|
|
Tags:
method getDark3D [line 203]
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 175]
Determines the percent amount of bar size in "z" depth direction.
Default value: 100%
Tags:
method getGradient [line 106]
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 116]
boolean getGradientRelative(
)
|
|
Calculates Colors based on highest bar when Gradient is Visible.
Default value: false
Tags:
method getMultiBar [line 472]
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 394]
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 327]
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 497]
Pen used to draw the Bar rectangles.
You can set BarPen.Visible = false to hide these lines.
Tags:
method getSideMargins [line 257]
boolean getSideMargins(
)
|
|
Margin between Chart rectangle and Bars.
Default value: true
Tags:
method getStackGroup [line 137]
Allows stacking independent Series within the same Chart, in series groups.
Default value: 0
Tags:
method getUseOrigin [line 303]
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 281]
Obsolete. Please use CustomBar.<!-- -->Origin instead.
Tags:
method internalApplyBarMargin [line 721]
void internalApplyBarMargin(
$margins)
|
|
Tags:
Parameters:
method internalCalcMarkLength [line 559]
method internalClicked [line 959]
method internalGetOriginPos [line 728]
void internalGetOriginPos(
$valueIndex,
$defaultOrigin)
|
|
Tags:
Parameters:
method maxMandatoryValue [line 747]
void maxMandatoryValue(
$value)
|
|
Tags:
Parameters:
method minMandatoryValue [line 800]
void minMandatoryValue(
$value)
|
|
Tags:
Parameters:
method numSampleValues [line 993]
method pointOrigin [line 784]
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 217]
method removeBarStyleResolver [line 81]
void removeBarStyleResolver(
)
|
|
Tags:
method setAutoMarkPosition [line 361]
void setAutoMarkPosition(
value
$value)
|
|
Repositions Marks on BarSeries to prevent overlapping.
Default value: false
Tags:
Parameters:
method setBarSizePercent [line 223]
void setBarSizePercent(
$value)
|
|
Tags:
Parameters:
method setBarStyle [line 426]
void setBarStyle(
value
$value)
|
|
Defines the Bar shape used to draw Bars.
Default value: BarStyle.Rectangle
Tags:
Parameters:
method setBarStyleResolver [line 77]
void setBarStyleResolver(
$resolver)
|
|
Tags:
Parameters:
method setChart [line 450]
method setConePercent [line 381]
void setConePercent(
value
$value)
|
|
Sets the apex size as a percentage of the base.
Default value: 0
Tags:
Parameters:
method setCustomBarWidth [line 670]
void setCustomBarWidth(
$value)
|
|
Tags:
Parameters:
method setDark3D [line 213]
void setDark3D(
value
$value)
|
|
Darkens sides of bars to enhance 3D effect.
Default value: true
Tags:
Parameters:
method setDepthPercent [line 190]
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 126]
void setGradientRelative(
value
$value)
|
|
Calculates Colors based on highest bar when Gradient is Visible.
Default value: false
Tags:
Parameters:
method setMultiBar [line 483]
void setMultiBar(
value
$value)
|
|
Determines how multiple BarSeries will be displayed in the same Chart.
Default value: MultiBars.Side
Tags:
Parameters:
method setOffsetPercent [line 404]
void setOffsetPercent(
value
$value)
|
|
Sets the Bar displacement as percentage of Bar size.
Default value: 0
Tags:
Parameters:
method setOrigin [line 337]
void setOrigin(
value
$value)
|
|
Sets the common bottom value used for all Bar points.
Default value: 0
Tags:
Parameters:
method setPenBrushBar [line 1006]
void setPenBrushBar(
$barColor)
|
|
Tags:
Parameters:
method setSideMargins [line 267]
void setSideMargins(
value
$value)
|
|
Sets a margin between Chart rectangle and Bars.
Default value: true
Tags:
Parameters:
method setStackGroup [line 154]
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 313]
void setUseOrigin(
value
$value)
|
|
Allows Bars to be bottom aligned at the Origin method value.
Default value: true
Tags:
Parameters:
method setYOrigin [line 290]
void setYOrigin(
value
$value)
|
|
Obsolete. Please use CustomBar.<!-- -->Origin instead.
Tags:
Parameters:
method setZPositions [line 158]
method shouldSerializeYOrigin [line 272]
void shouldSerializeYOrigin(
)
|
|
Tags:
method subGalleryStack [line 1017]
method _barRectangle [line 633]
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 49]
method __set [line 56]