com.steema.teechart.styles
Class BarJoin

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.styles.Series
          extended by com.steema.teechart.styles.CustomBar
              extended by com.steema.teechart.styles.Bar
                  extended by com.steema.teechart.styles.BarJoin
All Implemented Interfaces:
ISeries

public class BarJoin
extends Bar

Title: BarJoin class

Description: BarJoin series.

Example:


 series = new BarJoin(myChart.getChart());
 series.fillSampleValues(3);
 series.getJoinPen().setWidth(2);
 series.setColor(Color.RED);
 

Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Nested Class Summary
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.CustomBar
CustomBar.BarStyleResolver
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series
Series.MarkTextResolver
 
Field Summary
 
Fields inherited from class com.steema.teechart.styles.CustomBar
barSizePercent, bDark3D, bUseOrigin, conePercent, customBarSize, dOrigin, iBarBounds, iBarSize, iMultiBar, iNumBars, iOrderPos, iPreviousCount, marksOnBar, normalBarColor, pPen
 
Fields inherited from class com.steema.teechart.styles.Series
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
BarJoin()
           
BarJoin(IBaseChart c)
           
 
Method Summary
 void doBeforeDrawChart()
           
 void drawBar(int barIndex, int startPos, int endPos)
          Internal use.
 java.lang.String getDescription()
          Gets descriptive text.
 ChartPen getJoinPen()
          Determines the pen to draw the lines between each bar point.
protected  int numSampleValues()
           
 void prepareForGallery(boolean isEnabled)
           
 
Methods inherited from class com.steema.teechart.styles.Bar
calcBarBounds, calcHorizMargins, calcVerticalMargins, calcXPos, calcYPos, drawMark, drawMarks, drawTickLine, drawValue, getBarWidthPercent, getMaxXValue, getMaxYValue, getMinXValue, getMinYValue, getOriginPos, internalCalcMarkLength, internalClicked, moreSameZOrder, setBarWidthPercent
 
Methods inherited from class com.steema.teechart.styles.CustomBar
applyBarOffset, barMargin, barRectangle, barRectangle, calcFirstLastVisibleIndex, calcFirstLastVisibleIndex, calcMarkLength, calcZOrder, clicked, createSubGallery, doBarGradient, doGetBarStyle, doGradient3D, drawLegendShape, drawTickLines, drawValuesForward, getAutoMarkPosition, getBarBounds, getBarBoundsMidX, getBarStyle, getBrush, getConePercent, getCustomBarWidth, getDark3D, getDepthPercent, getGradient, getGradientRelative, getMarksLocation, getMarksOnBar, getMultiBar, getOffsetPercent, getOrigin, getPen, getSideMargins, getStackGroup, getTickLines, getUseOrigin, getYOrigin, internalApplyBarMargin, internalGetOriginPos, isPointInChartRect, lastVisibleMark, maxMandatoryValue, minMandatoryValue, pointOrigin, removeBarStyleResolver, setAutoMarkPosition, setBarSizePercent, setBarStyle, setBarStyleResolver, setChart, setConePercent, setCustomBarWidth, setDark3D, setDepthPercent, setGradientRelative, setMarksLocation, setMarksOnBar, setMultiBar, setOffsetPercent, setOrigin, setPenBrushBar, setSideMargins, setStackGroup, setSubGallery, setUseOrigin, setYOrigin, setZPositions, shouldSerializeYOrigin, subGalleryStack
 
Methods inherited from class com.steema.teechart.styles.Series
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addChartValue, added, addedValue, addNull, addNullXY, addSampleValues, addSeriesMouseListener, addSeriesPaintListener, addValues, assign, assignDispose, assignValues, associatedToAxis, beginUpdate, calcPercentSt, calcPosValue, calculateMarkPosition, calcXPosValue, calcXSizeValue, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, draw, drawHiddenValue, drawLegend, drawLegend, drawMarksSeries, drawSeries, drawSeriesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getColor, getColorEach, getColorMember, getColors, getCount, getCountLegendItems, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getLegendString, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxZValue, getMiddleZ, getMinZValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getPoint, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueColor, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasDataSource, hasListenersOf, hasNoMandatoryValues, isNull, isValidSeriesSource, isValidSourceOf, lastDisplayed, legendItemColor, legendToValueIndex, maxMarkWidth, mouseEvent, newFromType, onDisposing, prepareLegendCanvas, randomBounds, readResolve, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, setColor, setColorEach, setColorMember, setColors, setCursor, setCustomHorizAxis, setCustomHorizAxis, setCustomVertAxis, setCustomVertAxis, setDataSource, setDefaultNullValue, setDepth, setEndZ, setFunction, setHorizontal, setHorizontalAxis, setLabelMember, setLabels, setMarks, setMarkTextResolver, setMiddleZ, setNull, setNull, setPercentFormat, setSeriesColor, setShowInLegend, setStartZ, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, sortByLabels, sortByLabels, swapValueIndex, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValue
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.steema.teechart.styles.ISeries
getChart, invalidate
 

Constructor Detail

BarJoin

public BarJoin()

BarJoin

public BarJoin(IBaseChart c)
Method Detail

getJoinPen

public ChartPen getJoinPen()
Determines the pen to draw the lines between each bar point.

Returns:
ChartPen

doBeforeDrawChart

public void doBeforeDrawChart()
Overrides:
doBeforeDrawChart in class CustomBar

prepareForGallery

public void prepareForGallery(boolean isEnabled)
Overrides:
prepareForGallery in class CustomBar

drawBar

public void drawBar(int barIndex,
                    int startPos,
                    int endPos)
Internal use.

Overrides:
drawBar in class Bar
Parameters:
barIndex - int
startPos - int
endPos - int

numSampleValues

protected int numSampleValues()
Overrides:
numSampleValues in class CustomBar

getDescription

public java.lang.String getDescription()
Gets descriptive text.

Overrides:
getDescription in class Bar
Returns:
String