Skip to content

Commit 339a929

Browse files
remove arrows on titles
1 parent e700a1a commit 339a929

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<script type="module">
5-
import 'https://unpkg.com/ternary-plot@latest/dist/ternary-plot.umd.js';
5+
import './dist/ternary-plot.umd.js';
66
</script>
77
</head>
88
<style>
@@ -27,9 +27,9 @@
2727
function getRandomData (length) {
2828
return {
2929
titles: {
30-
bottom: "Variable A",
31-
right: "Variable B",
32-
left: "Variable C",
30+
bottom: "Variable A",
31+
right: "Variable B",
32+
left: "Variable C",
3333
},
3434
data: Array.from({length}, getRandomDatum),
3535
};

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ const transformBottomTitle = {
136136
};
137137

138138
const bottomTitle = {
139-
get: ({data}) => `${data.titles.bottom}`
139+
get: ({data}) => `${data.titles.bottom}`
140140
};
141141

142142
const transformRightTitle = {
@@ -147,7 +147,7 @@ const transformRightTitle = {
147147
};
148148

149149
const rightTitle = {
150-
get: ({data}) => `${data.titles.right}`
150+
get: ({data}) => `${data.titles.right}`
151151
};
152152

153153
const transformLeftTitle = {
@@ -158,7 +158,7 @@ const transformLeftTitle = {
158158
};
159159

160160
const leftTitle = {
161-
get: ({data}) => `${data.titles.left}`
161+
get: ({data}) => `${data.titles.left}`
162162
};
163163

164164
const pointsCoordinates = {

0 commit comments

Comments
 (0)