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 — respect phaseX when drawing cubicFill · FlyingAndroid/MPAndroidChart@918950b

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
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ protected void drawCubicFill(Canvas c, ILineDataSet dataSet, Path spline, Transf
252252
float fillMin = dataSet.getFillFormatter()
253253
.getFillLinePosition(dataSet, mChart);
254254

255-
spline.lineTo(dataSet.getEntryForIndex(mXBounds.max).getX(), fillMin);
256-
spline.lineTo(dataSet.getEntryForIndex(mXBounds.min).getX(), fillMin);
255+
spline.lineTo(dataSet.getEntryForIndex(bounds.min + bounds.range).getX(), fillMin);
256+
spline.lineTo(dataSet.getEntryForIndex(bounds.min).getX(), fillMin);
257257
spline.close();
258258

259259
trans.pathValueToPixel(spline);

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.