刪除域值我有一個情節的設置是這樣的:AndroidPlot - 從GraphWidget
aHistoryPlot = (XYPlot) findViewById(R.id.plot);
aHistoryPlot.setRangeBoundaries(0, 255, BoundaryMode.FIXED);
aHistoryPlot.setDomainBoundaries(0, HISTORY_SIZE, BoundaryMode.FIXED);
aHistoryPlot.addSeries(YHistorySeries, new LineAndPointFormatter(Color.rgb(100, 200, 100), Color.TRANSPARENT, null));
aHistoryPlot.getGraphWidget().setMarginTop(10);
aHistoryPlot.setDomainStepValue(5);
aHistoryPlot.setTicksPerRangeLabel(3);
aHistoryPlot.setDomainLabel(getResources().getString(R.string.string_time));
aHistoryPlot.getDomainLabelWidget().pack();
aHistoryPlot.setRangeLabel(getResources().getString(R.string.string_value));
aHistoryPlot.getRangeLabelWidget().pack();
aHistoryPlot.disableAllMarkup();
如何從情節刪除域值?
在此先感謝!
謝謝!我剛剛添加了'aHistoryPlot.getGraphWidget()。getDomainOriginLabelPaint()。setColor(Color.TRANSPARENT);'它創造了我正在尋找的東西。 – amp