Skip to content

Commit e159f4a

Browse files
authored
Merge pull request #69 from SoftStackFactory/68-transition-labels
68 transition labels
2 parents 3327a16 + a67d7ee commit e159f4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/transition/transition.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class TransitionPage {
9191
labels: ["Career", "Finance", "Personal \n Growth", "Health", "Family", "Relationships", "Social life", "Attitude"],
9292
datasets: [
9393
{
94-
backgroundColor: ["rgba(0,0,255, .6)", "rgba(255,0,0, .6)", "rgba(128,0,128, .6)", "rgba(0,128,0, .6)", "rgba(255,165,0, .6)", "rgba(0,128,128, .6)", "rgba(255,0,255, .6)", "rgba(0,255,0, .6)"],
94+
backgroundColor: ["rgba(0,0,255, .2)", "rgba(255,0,0, .2)", "rgba(128,0,128, .2)", "rgba(0,128,0, .2)", "rgba(255,165,0, .2)", "rgba(0,128,128, .2)", "rgba(255,0,255, .2)", "rgba(0,255,0, .2)"],
9595
borderColor: "black",
9696
data: [0, 0, 0, 0, 0, 0, 0, 0]
9797
}
@@ -123,7 +123,7 @@ export class TransitionPage {
123123
borderColor: 'black',
124124
rotation: function (context) { if (context.dataIndex === 0 || context.dataIndex === 1 || context.dataIndex === 6 || context.dataIndex === 7) { return 45 / 2 + (45 * context.dataIndex) } else { return 45 / 2 + (45 * context.dataIndex) + 180 } },
125125
borderRadius: 5,
126-
borderWidth: 2,
126+
borderWidth: 0,
127127
color: 'black',
128128
font: function (context) {
129129
var width = context.chart.width;

0 commit comments

Comments
 (0)