如何在同一图表视图中创建散点图和折线图? [英] How to create scatter and line chart in same chart view?

查看:330
本文介绍了如何在同一图表视图中创建散点图和折线图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道 MPAndroidChart 可让您在同一图中绘制两个折线图,但我需要绘制2个散点图图表和同一图中的一个折线图.怎么去做?

I know MPAndroidChart lets you put two linecharts in the same plot but I need to plot 2 scatter charts and one line chart in the same graph. How can go about doing this?

推荐答案

您描述的功能在v3.0.0之前的库版本中不可用

The functionality you are describing is not available in versions of the library prior to v3.0.0

编辑:

从v3.0.0 +开始,此功能现已可用.可以使用CombinedChart完成.查看示例看看如何实现.

As of v3.0.0+, this feature is now available. It can be done using a CombinedChart. Check out the example to see how to implement it.

这篇关于如何在同一图表视图中创建散点图和折线图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆