gpt4 book ai didi

com.github.mikephil.charting.components.YAxis.setGridColor()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-17 05:20:40 28 4
gpt4 key购买 nike

本文整理了Java中com.github.mikephil.charting.components.YAxis.setGridColor()方法的一些代码示例,展示了YAxis.setGridColor()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YAxis.setGridColor()方法的具体详情如下:
包路径:com.github.mikephil.charting.components.YAxis
类名称:YAxis
方法名:setGridColor

YAxis.setGridColor介绍

暂无

代码示例

代码示例来源:origin: thuryn/your-local-weather

yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(textColorId);
yLeft.setGridColor(gridColorId);
yLeft.setZeroLineWidth(20f);
if (textSize != null) {
yRight.enableGridDashedLine(5f, 10f, 0f);
yRight.setTextColor(textColorId);
yRight.setGridColor(gridColorId);
yRight.setZeroLineWidth(20f);
if (textSize != null) {

代码示例来源:origin: WallaceXiao/StockChart-MPAndroidChart

axisRightLine.setValueLineInside(true);
axisRightLine.setPosition(landscape ? YAxis.YAxisLabelPosition.OUTSIDE_CHART : YAxis.YAxisLabelPosition.INSIDE_CHART);
axisRightLine.setGridColor(ContextCompat.getColor(mContext, R.color.grid_color));
axisRightLine.setTextColor(ContextCompat.getColor(mContext, R.color.axis_text));
axisRightLine.setValueFormatter(new IAxisValueFormatter() {
axisRightBar.setLabelCount(3, true);
axisRightBar.setDrawTopBottomGridLine(false);
axisRightBar.setGridColor(ContextCompat.getColor(mContext, R.color.grid_color));
axisRightBar.setGridLineWidth(0.7f);
axisRightBar.enableGridDashedLine(CommonUtil.dip2px(mContext, 4), CommonUtil.dip2px(mContext, 3), 0);

代码示例来源:origin: qqq3/good-weather

yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setGridColor(Color.parseColor("#333333"));
yLeft.setXOffset(15);
yLeft.setValueFormatter(mYAxisFormatter);

代码示例来源:origin: qqq3/good-weather

yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setGridColor(Color.parseColor("#333333"));
yLeft.setXOffset(15);
yLeft.setValueFormatter(mYAxisFormatter);

代码示例来源:origin: qqq3/good-weather

yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setGridColor(Color.parseColor("#333333"));
yLeft.setXOffset(15);
yLeft.setValueFormatter(mYAxisFormatter);

代码示例来源:origin: WallaceXiao/StockChart-MPAndroidChart

axisRightLine.setValueLineInside(true);
axisRightLine.setPosition(landscape ? YAxis.YAxisLabelPosition.OUTSIDE_CHART : YAxis.YAxisLabelPosition.INSIDE_CHART);
axisRightLine.setGridColor(ContextCompat.getColor(mContext, R.color.grid_color));
axisRightLine.setTextColor(ContextCompat.getColor(mContext, R.color.axis_text));
axisRightLine.setValueFormatter(new IAxisValueFormatter() {
axisRightBar.setLabelCount(3, true);
axisRightBar.setDrawTopBottomGridLine(false);
axisRightBar.setGridColor(ContextCompat.getColor(mContext, R.color.grid_color));
axisRightBar.setGridLineWidth(0.7f);
axisRightBar.enableGridDashedLine(CommonUtil.dip2px(mContext, 4), CommonUtil.dip2px(mContext, 3), 0);

代码示例来源:origin: thuryn/your-local-weather

yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));
yLeft.setXOffset(15);
yLeft.setValueFormatter(rainSnowYAxisValueFormatter);

代码示例来源:origin: qqq3/good-weather

yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setGridColor(Color.parseColor("#333333"));
yLeft.setXOffset(15);
yLeft.setValueFormatter(mYAxisFormatter);

代码示例来源:origin: thuryn/your-local-weather

yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));
yLeft.setXOffset(15);
yLeft.setValueFormatter(rainSnowYAxisValueFormatter);

代码示例来源:origin: thuryn/your-local-weather

yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));
yLeft.setXOffset(15);
yLeft.setValueFormatter(rainSnowYAxisValueFormatter);

代码示例来源:origin: WallaceXiao/StockChart-MPAndroidChart

axisLeftK.enableGridDashedLine(CommonUtil.dip2px(mContext, 4), CommonUtil.dip2px(mContext, 3), 0);
axisLeftK.setTextColor(ContextCompat.getColor(mContext, R.color.axis_text));
axisLeftK.setGridColor(ContextCompat.getColor(mContext, R.color.grid_color));
axisLeftK.setGridLineWidth(0.7f);
axisLeftK.setValueLineInside(true);
axisRightBar.setLabelCount(3, true);
axisRightBar.setDrawTopBottomGridLine(false);
axisRightBar.setGridColor(ContextCompat.getColor(mContext, R.color.grid_color));
axisRightBar.setGridLineWidth(0.7f);
axisRightBar.enableGridDashedLine(CommonUtil.dip2px(mContext, 4), CommonUtil.dip2px(mContext, 3), 0);

代码示例来源:origin: thuryn/your-local-weather

yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));
yLeft.setXOffset(15);
yLeft.setValueFormatter(rainSnowYAxisValueFormatter);

代码示例来源:origin: thuryn/your-local-weather

yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));
yLeft.setXOffset(15);
yLeft.setValueFormatter(new YAxisValueFormatter(locale, 2, TemperatureUtil.getTemperatureUnit(this)));

代码示例来源:origin: thuryn/your-local-weather

yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));
yLeft.setXOffset(15);
yLeft.setValueFormatter(new YAxisValueFormatter(locale, 2, AppPreference.getWindUnit(this)));

代码示例来源:origin: thuryn/your-local-weather

yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));
yLeft.setXOffset(15);
yLeft.setValueFormatter(new YAxisValueFormatter(locale, 2, AppPreference.getPressureUnit(this)));

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com