【发布时间】:2013-06-05 23:03:48
【问题描述】:
作品中是否有虚线、点线等线型?
我知道您可以通过将 vertexColor 设置为 null 来添加/删除点,如下例所示:
LineAndPointFormatter blueFormat = new LineAndPointFormatter(Color.rgb(30,144,255), null, null);
但是,我无法在javadoc 中找到像“setDottedLine(true)”这样的快速属性设置或类似的东西。我想我可以在解析时每 10 个点绘制一次图表,然后每 10 个点删除一次,但这可能比需要的开销要多一些。
是否有解决方法或技巧来使用 LineAndPointFormatter 或通过设置一些其他小部件属性来创建虚线?
【问题讨论】:
标签: android android-widget graphing androidplot