Skip to content

Commit

Permalink
fix(area): area lineCap, lineJoin default config
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Nov 18, 2019
1 parent a6e09d5 commit 169e3f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plots/area/layer.ts
Expand Up @@ -21,6 +21,8 @@ interface AreaStyle {
interface LineStyle {
lineDash?: number[];
stroke?: string;
lineJoin?: 'bevel' | 'round' | 'miter';
lineCap?: 'butt' | 'round' | 'square';
}

interface PointStyle {
Expand Down Expand Up @@ -71,6 +73,8 @@ export default class AreaLayer<T extends AreaLayerConfig = AreaLayerConfig> exte
size: 2,
style: {
opacity: 1,
lineJoin: 'round',
lineCap: 'round',
},
},
point: {
Expand Down

0 comments on commit 169e3f6

Please sign in to comment.