GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fill before stroke - because the fill may cover half of a thick stroke · FlyingAndroid/MPAndroidChart@5daa6dc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • MPChartLib/src/main/java/com/github/mikephil/charting/renderer
    • LineChartRenderer.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎MPChartLib/src/main/java/com/github/mikephil/charting/renderer/LineChartRenderer.java‎

Copy file name to clipboardExpand all lines: MPChartLib/src/main/java/com/github/mikephil/charting/renderer/LineChartRenderer.java
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,11 @@ protected void drawLinear(Canvas c, ILineDataSet dataSet) {
300300

301301
mXBounds.set(mChart, dataSet);
302302

303+
// if drawing filled is enabled
304+
if (dataSet.isDrawFilledEnabled() && entryCount > 0) {
305+
drawLinearFill(c, dataSet, trans, mXBounds);
306+
}
307+
303308
// more than 1 color
304309
if (dataSet.getColors().size() > 1) {
305310

@@ -403,11 +408,6 @@ protected void drawLinear(Canvas c, ILineDataSet dataSet) {
403408
}
404409

405410
mRenderPaint.setPathEffect(null);
406-
407-
// if drawing filled is enabled
408-
if (dataSet.isDrawFilledEnabled() && entryCount > 0) {
409-
drawLinearFill(c, dataSet, trans, mXBounds);
410-
}
411411
}
412412

413413
protected Path mGenerateFilledPathBuffer = new Path();

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.