水平条形图方向
是否可以创建水平条形图并从右到左绘制条形图?只需做镜子反射即可。我不能在XML中使用旋转,因为标签也会逆转。
Is it possible to create Horizontal Bar Chart and draw bars from right to left? Just make mirror reflection. I can't use rotate in my xml because label also will be reversed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将渲染从HorizontalBarcharTrenderer更改为定制的渲染和覆盖函数:受保护的void drawDataSet(Canvas c,ibardataset数据集,int Index);
在“ //初始化缓冲区”时添加这些行
看起来像这样:

You can change the render from HorizontalBarChartRenderer to your customed render, and override function :protected void drawDataSet(Canvas c, IBarDataSet dataSet, int index);
add these lines after " // initialize the buffer"
look like this:
