File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -105,3 +105,39 @@ To disable the touch input
105105
106106``` java
107107graph. setDrawUserTouchPointEnabled(boolean enabled);
108+ ```
109+
110+ ### Styling options
111+
112+ ``` xml
113+ ...
114+ xmlns:graph="http://schemas.android.com/apk/res-auto"
115+ ...
116+
117+
118+ <com .velli20.materialunixgraph.LineGraph
119+ android : id =" @+id/graph"
120+ android : layout_width =" match_parent"
121+ android : layout_height =" 300dp"
122+ android : padding =" 16dp"
123+
124+ graph : drawTimeLabelsIn24hourMode =" true"
125+ graph : graphFrameColor =" #e0e0e0"
126+ graph : verticalAxisLabelColor =" #9e9e9e"
127+ graph : horizontalAxisLabelColor =" #9e9e9e"
128+ graph : graphFrameStrokeWidth =" 1dp"
129+ graph : verticalAxisLabelTextSize =" 12sp"
130+ graph : horizontalAxisLabelTextSize =" 14sp"
131+ graph : maxVerticalAxisValue =" 120"
132+ graph : minVerticalAxisValue =" 0"
133+ graph : maxVerticalAxisCount =" 4"
134+ graph : verticalAxisValueLabel =" EUROS"
135+ graph : dialogOutlineColor =" #757575"
136+ graph : dialogBackgroundColor =" #FFFFFF"
137+ graph : linePointRadius =" 3dp"
138+ graph : lineTouchedPointRadius =" 6dp"
139+ graph : drawLineTouchedPointIndicatorLine =" true"
140+ graph : lineTouchedPointColor =" #00b0ff"
141+ graph : lineTouchedPointIndicatorLineColor =" #757575" />
142+
143+ ```
You can’t perform that action at this time.
0 commit comments