AChartEngine transparent background

前端 未结 2 1818
日久生厌
日久生厌 2020-12-09 09:20

I have a problem. I\'m making a graph with AChartEngine and I would like to have the background of the whole graph to be transparent:

XYMultipleSeriesRendere         


        
相关标签:
2条回答
  • 2020-12-09 09:45

    If you want to set transparent background color, you can try:

    renderer.setMarginsColor(Color.argb(0x00, 0xff, 0x00, 0x00));
    

    It just be work for me!

    0 讨论(0)
  • 2020-12-09 09:51

    Try setMarginsColor(Color.argb(0x00, 0x01, 0x01, 0x01)); It looks like there's a bug when setting the color as black transparent

    0 讨论(0)
提交回复
热议问题