AndroidPlot - Remove domain values from GraphWidget
android, android-graphview, androidplot, graph, java
Solution
You can enter:
aHistoryPlot.getGraphWidget().getDomainLabelPaint.setColor(Color.TRANSPARENT);
Problem
I have a plot setup like this: ``` 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(); ``` How can I remove the domain values from the plot? Thanks in advance!