Skip to content

Commit b60683f

Browse files
committed
documentation cleanup
1 parent 55fce04 commit b60683f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

androidplot-core/src/main/res/values/attrs.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ _This documentation is auto generated from [attrs.xml](../androidplot-core/src/m
2222
Attributes are broken down by element followed by either their type or list of accepted values.
2323
Supported Elements:
2424
25-
* [Plot](#Plot)
26-
* [XYPlot](#XYPlot)
27-
* [PieChart](#PieChart)
25+
* [Plot](#plot)
26+
* [XYPlot](#xyplot)
27+
* [PieChart](#piechart)
2828
-->
2929
<!--NODOC to generate from command line use: `./gradlew generateAttrsMarkdown` -->
3030
<resources>

docs/custom_renderer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class RoundedBarFormatter extends BarFormatter {
1616
{
1717
// for now we'll hardcode some formatting values.
1818
// a real implementation would probably provide a constructor instead
19-
getLinePaint().setColor(Color.WHITE);
19+
getBorderPaint().setColor(Color.WHITE);
2020
getFillPaint().setColor(Color.RED);
2121
}
2222

File renamed without changes.

docs/plot_composition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ plot.getGraph().setSize(new Size(
247247
Every widget has a margin, padding and an optional border that can be drawn around it. These params behave
248248
very similarly to those defined in the [CSS Box Model](http://www.w3schools.com/css/css_boxmodel.asp).
249249

250-
## Markup Mode.
250+
## Markup Mode
251251
If you're having trouble visualizing the effects of tweaking margins and padding, you can enable
252252
markup mode which will highlight these spaces on each widget, as well as draw a green line around it's
253253
absolute border.
@@ -281,7 +281,7 @@ text style, etc. to apply while drawing.
281281
## Renderers
282282
The Renderer is what renders Series data onto a Plot. Users can provide their own custom rendering behavior
283283
by writing their own Renderer implementation along with a custom Formatter telling Androidplot about the
284-
Renderer via the `Formatter.getRendererClass()` method.
284+
Renderer via the `Formatter.getRendererClass()` method. See [Custom Renderer](custom_rnderer.md) documentation.
285285

286286
# XML Styling
287287
Androidplot supports an increasing number of XML attributes. The two best resources for learning about

0 commit comments

Comments
 (0)