【问题标题】:Android achartengine panning barchartAndroid achartengine 平移条形图
【发布时间】:2014-02-19 13:43:42
【问题描述】:

我正在为我的 android 应用程序使用 achartengine 图形库。 我在下面的屏幕上绘制条形图图形

当我从右到左平移条形图时,我会看到下面的第二个屏幕

我的问题是我不想在平移条形图时显示 y 轴的左侧。

我对 achartengine 的源代码有挑战。任何人都可以帮助。 谢谢。

【问题讨论】:

    标签: android bar-chart achartengine graphic


    【解决方案1】:

    您使用的是旧版本的 AChartEngine。我建议你升级到 1.2.0。

    另外,您可能创建了一个透明背景,这可能是问题的根源。

    【讨论】:

    • 嗨丹,问题是 renderer.setApplyMarginBacgroundColor(false);我将此方法设置为 true 并设置边距颜色,这样就可以了。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-02-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多