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

x33g5p2x  于2022-02-05 转载在 其他  
字(5.3k)|赞(0)|评价(0)|浏览(136)

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

YAxis.enableGridDashedLine介绍

暂无

代码示例

代码示例来源:origin: PhilJay/MPAndroidChart

yAxis.enableGridDashedLine(10f, 10f, 0f);

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

yLeft.setDrawAxisLine(false);
yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(textColorId);
yLeft.setGridColor(gridColorId);
yRight.setDrawAxisLine(false);
yRight.setDrawGridLines(true);
yRight.enableGridDashedLine(5f, 10f, 0f);
yRight.setTextColor(textColorId);
yRight.setGridColor(gridColorId);

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

axisRightLine.setDrawGridLines(true);
axisRightLine.setGridLineWidth(0.7f);
axisRightLine.enableGridDashedLine(CommonUtil.dip2px(mContext, 4), CommonUtil.dip2px(mContext, 3), 0);
axisRightLine.setDrawAxisLine(false);
axisRightLine.setValueLineInside(true);
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.setDrawAxisLine(false);
yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setGridColor(Color.parseColor("#333333"));
yLeft.setXOffset(15);

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

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

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

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

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

axisRightLine.setDrawGridLines(true);
axisRightLine.setGridLineWidth(0.7f);
axisRightLine.enableGridDashedLine(CommonUtil.dip2px(mContext, 4), CommonUtil.dip2px(mContext, 3), 0);
axisRightLine.setDrawAxisLine(false);
axisRightLine.setValueLineInside(true);
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.setDrawAxisLine(false);
yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));

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

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

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

yLeft.setDrawAxisLine(false);
yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));

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

axisLeftK.setDrawLabels(true);
axisLeftK.setLabelCount(5, true);
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));
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.setDrawAxisLine(false);
yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));

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

yLeft.setDrawAxisLine(false);
yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));

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

yLeft.setDrawAxisLine(false);
yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));

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

yLeft.setDrawAxisLine(false);
yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));

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

yLeft.setDrawAxisLine(false);
yLeft.setDrawGridLines(true);
yLeft.enableGridDashedLine(5f, 10f, 0f);
yLeft.setTextColor(PreferenceUtil.getTextColor(this));
yLeft.setGridColor(PreferenceUtil.getGraphGridColor(this));

代码示例来源:origin: zhuanghongji/mp-android-chart

leftAxis.setAxisMinimum(-50f);
leftAxis.enableGridDashedLine(10f, 10f, 0f);
leftAxis.setDrawZeroLine(false);

代码示例来源:origin: WenWangAndroid/ChartManager

leftYAxis.setDrawGridLines(true);
leftYAxis.enableGridDashedLine(10f, 10f, 0f);
rightYAxis.setEnabled(false);

代码示例来源:origin: WenWangAndroid/ChartManager

rightAxis.enableGridDashedLine(10f, 10f, 0f);

相关文章

YAxis类方法