Skip to content

Commit

Permalink
ver 10309
Browse files Browse the repository at this point in the history
10309 小程序修正分时图ChartStickLine柱子太粗了。
  • Loading branch information
jones2000 committed Sep 1, 2021
1 parent 489f236 commit a3478d5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion wechathqchart/umychart.chartpaint.wechat.js
Original file line number Diff line number Diff line change
Expand Up @@ -1704,11 +1704,19 @@ function ChartStickLine()
var xOffset = this.ChartBorder.GetLeft() + distanceWidth / 2.0 + 2.0;
if (isHScreen) xOffset = this.ChartBorder.GetTop() + distanceWidth / 2.0 + 2.0;

var isMinute=this.IsMinuteFrame();

this.Canvas.save();
var bFillBar = false;
var bFillKLine = false;

if (this.LineWidth==50)
if (isMinute)
{
if (this.LineWidth>1) this.Canvas.lineWidth=2;
else this.Canvas.lineWidth=1;
this.Canvas.strokeStyle=this.Color;
}
else if (this.LineWidth==50)
{
if (dataWidth >= this.MinBarWidth)
{
Expand Down

0 comments on commit a3478d5

Please sign in to comment.