【问题标题】:Mpandroidchart How to set legend on left axisMpandroidchart 如何在左轴上设置图例
【发布时间】:2015-09-07 17:12:52
【问题描述】:

我需要在 MPAndroidChart 中添加一个图例,就像这个链接的图片一样 https://drive.google.com/file/d/0B84Wox8FntslUVhiM1R1OTJqbEE/view?usp=sharing

【问题讨论】:

    标签: android charts mpandroidchart


    【解决方案1】:

    这样试试

    chart.getLegend().setPosition(LegendPosition.LEFT_OF_CHART);

    【讨论】:

    • 其实不是对线的描述,而是在x轴和y轴上的描述,分别表示每个轴是什么。抱歉,如果这条评论难以理解,我不会说英语。
    猜你喜欢
    • 2016-12-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-06
    • 2017-08-28
    • 1970-01-01
    • 2017-09-04
    • 1970-01-01
    相关资源
    最近更新 更多