com.github.mikephil.charting.formatter.DefaultFillFormatter Java Examples

The following examples show how to use com.github.mikephil.charting.formatter.DefaultFillFormatter. 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: LineDataSet.java    From StockChart-MPAndroidChart with MIT License 5 votes vote down vote up
/**
 * Sets a custom IFillFormatter to the chart that handles the position of the
 * filled-line for each DataSet. Set this to null to use the default logic.
 *
 * @param formatter
 */
public void setFillFormatter(IFillFormatter formatter) {

    if (formatter == null) {
        mFillFormatter = new DefaultFillFormatter();
    } else {
        mFillFormatter = formatter;
    }
}
 
Example #2
Source File: LineDataSet.java    From Ticket-Analysis with MIT License 5 votes vote down vote up
/**
 * Sets a custom IFillFormatter to the chart that handles the position of the
 * filled-line for each DataSet. Set this to null to use the default logic.
 *
 * @param formatter
 */
public void setFillFormatter(IFillFormatter formatter) {

    if (formatter == null)
        mFillFormatter = new DefaultFillFormatter();
    else
        mFillFormatter = formatter;
}
 
Example #3
Source File: LineDataSet.java    From android-kline with Apache License 2.0 5 votes vote down vote up
/**
 * Sets a custom IFillFormatter to the chart that handles the position of the
 * filled-line for each DataSet. Set this to null to use the default logic.
 *
 * @param formatter
 */
public void setFillFormatter(IFillFormatter formatter) {

    if (formatter == null)
        mFillFormatter = new DefaultFillFormatter();
    else
        mFillFormatter = formatter;
}
 
Example #4
Source File: LineDataSet.java    From iMoney with Apache License 2.0 5 votes vote down vote up
/**
 * Sets a custom FillFormatter to the chart that handles the position of the
 * filled-line for each DataSet. Set this to null to use the default logic.
 *
 * @param formatter
 */
public void setFillFormatter(FillFormatter formatter) {

    if (formatter == null)
        mFillFormatter = new DefaultFillFormatter();
    else
        mFillFormatter = formatter;
}
 
Example #5
Source File: RealmLineDataSet.java    From Stayfit with Apache License 2.0 5 votes vote down vote up
/**
 * Sets a custom FillFormatter to the chart that handles the position of the
 * filled-line for each DataSet. Set this to null to use the default logic.
 *
 * @param formatter
 */
public void setFillFormatter(FillFormatter formatter) {

    if (formatter == null)
        mFillFormatter = new DefaultFillFormatter();
    else
        mFillFormatter = formatter;
}
 
Example #6
Source File: LineDataSet.java    From Stayfit with Apache License 2.0 5 votes vote down vote up
/**
 * Sets a custom FillFormatter to the chart that handles the position of the
 * filled-line for each DataSet. Set this to null to use the default logic.
 *
 * @param formatter
 */
public void setFillFormatter(FillFormatter formatter) {

    if (formatter == null)
        mFillFormatter = new DefaultFillFormatter();
    else
        mFillFormatter = formatter;
}
 
Example #7
Source File: RealmLineDataSet.java    From NetKnight with Apache License 2.0 5 votes vote down vote up
/**
 * Sets a custom FillFormatter to the chart that handles the position of the
 * filled-line for each DataSet. Set this to null to use the default logic.
 *
 * @param formatter
 */
public void setFillFormatter(FillFormatter formatter) {

    if (formatter == null)
        mFillFormatter = new DefaultFillFormatter();
    else
        mFillFormatter = formatter;
}
 
Example #8
Source File: LineDataSet.java    From NetKnight with Apache License 2.0 5 votes vote down vote up
/**
 * Sets a custom FillFormatter to the chart that handles the position of the
 * filled-line for each DataSet. Set this to null to use the default logic.
 *
 * @param formatter
 */
public void setFillFormatter(FillFormatter formatter) {

    if (formatter == null)
        mFillFormatter = new DefaultFillFormatter();
    else
        mFillFormatter = formatter;
}
 
Example #9
Source File: RealmLineDataSet.java    From MPAndroidChart-Realm with Apache License 2.0 5 votes vote down vote up
/**
 * Sets a custom FillFormatter to the chart that handles the position of the
 * filled-line for each DataSet. Set this to null to use the default logic.
 *
 * @param formatter
 */
public void setFillFormatter(IFillFormatter formatter) {

    if (formatter == null)
        mFillFormatter = new DefaultFillFormatter();
    else
        mFillFormatter = formatter;
}