com.github.mikephil.charting.renderer.HorizontalBarChartRenderer Java Examples

The following examples show how to use com.github.mikephil.charting.renderer.HorizontalBarChartRenderer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HorizontalBarChart.java    From StockChart-MPAndroidChart with MIT License 6 votes vote down vote up
@Override
protected void init() {

    mViewPortHandler = new HorizontalViewPortHandler();

    super.init();

    mLeftAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);
    mRightAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);

    mRenderer = new HorizontalBarChartRenderer(this, mAnimator, mViewPortHandler);
    setHighlighter(new HorizontalBarHighlighter(this));

    mAxisRendererLeft = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisLeft, mLeftAxisTransformer);
    mAxisRendererRight = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisRight, mRightAxisTransformer);
    mXAxisRenderer = new XAxisRendererHorizontalBarChart(mViewPortHandler, mXAxis, mLeftAxisTransformer, this);
}
 
Example #2
Source File: HorizontalBarChart.java    From Ticket-Analysis with MIT License 6 votes vote down vote up
@Override
protected void init() {

    mViewPortHandler = new HorizontalViewPortHandler();

    super.init();

    mLeftAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);
    mRightAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);

    mRenderer = new HorizontalBarChartRenderer(this, mAnimator, mViewPortHandler);
    setHighlighter(new HorizontalBarHighlighter(this));

    mAxisRendererLeft = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisLeft, mLeftAxisTransformer);
    mAxisRendererRight = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisRight, mRightAxisTransformer);
    mXAxisRenderer = new XAxisRendererHorizontalBarChart(mViewPortHandler, mXAxis, mLeftAxisTransformer, this);
}
 
Example #3
Source File: HorizontalBarChart.java    From android-kline with Apache License 2.0 6 votes vote down vote up
@Override
protected void init() {

    mViewPortHandler = new HorizontalViewPortHandler();

    super.init();

    mLeftAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);
    mRightAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);

    mRenderer = new HorizontalBarChartRenderer(this, mAnimator, mViewPortHandler);
    setHighlighter(new HorizontalBarHighlighter(this));

    mAxisRendererLeft = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisLeft, mLeftAxisTransformer);
    mAxisRendererRight = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisRight, mRightAxisTransformer);
    mXAxisRenderer = new XAxisRendererHorizontalBarChart(mViewPortHandler, mXAxis, mLeftAxisTransformer, this);
}
 
Example #4
Source File: HorizontalBarChart.java    From iMoney with Apache License 2.0 5 votes vote down vote up
@Override
protected void init() {
	super.init();

	mLeftAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);
	mRightAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);

	mRenderer = new HorizontalBarChartRenderer(this, mAnimator, mViewPortHandler);
	mHighlighter = new HorizontalBarHighlighter(this);

	mAxisRendererLeft = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisLeft, mLeftAxisTransformer);
	mAxisRendererRight = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisRight, mRightAxisTransformer);
	mXAxisRenderer = new XAxisRendererHorizontalBarChart(mViewPortHandler, mXAxis, mLeftAxisTransformer, this);
}
 
Example #5
Source File: HorizontalBarChart.java    From Stayfit with Apache License 2.0 5 votes vote down vote up
@Override
protected void init() {
	super.init();

	mLeftAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);
	mRightAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);

	mRenderer = new HorizontalBarChartRenderer(this, mAnimator, mViewPortHandler);
	setHighlighter(new HorizontalBarHighlighter(this));

	mAxisRendererLeft = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisLeft, mLeftAxisTransformer);
	mAxisRendererRight = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisRight, mRightAxisTransformer);
	mXAxisRenderer = new XAxisRendererHorizontalBarChart(mViewPortHandler, mXAxis, mLeftAxisTransformer, this);
}
 
Example #6
Source File: HorizontalBarChart.java    From NetKnight with Apache License 2.0 5 votes vote down vote up
@Override
protected void init() {
	super.init();

	mLeftAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);
	mRightAxisTransformer = new TransformerHorizontalBarChart(mViewPortHandler);

	mRenderer = new HorizontalBarChartRenderer(this, mAnimator, mViewPortHandler);
	setHighlighter(new HorizontalBarHighlighter(this));

	mAxisRendererLeft = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisLeft, mLeftAxisTransformer);
	mAxisRendererRight = new YAxisRendererHorizontalBarChart(mViewPortHandler, mAxisRight, mRightAxisTransformer);
	mXAxisRenderer = new XAxisRendererHorizontalBarChart(mViewPortHandler, mXAxis, mLeftAxisTransformer, this);
}