Skip to content

Commit

Permalink
extra packages have been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ahibis committed Apr 24, 2022
1 parent 2d02280 commit 04a7fee
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 259 deletions.
13 changes: 0 additions & 13 deletions public/chart.js

This file was deleted.

192 changes: 0 additions & 192 deletions public/pixi-extract.js

This file was deleted.

7 changes: 0 additions & 7 deletions src/assets/bootstrap.min.css

This file was deleted.

13 changes: 0 additions & 13 deletions src/assets/chart.js

This file was deleted.

21 changes: 16 additions & 5 deletions src/components/histogram.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,27 @@ const chartData = computed((v) => {
return {
labels: _.range(256),
datasets: [
{ data: props.data[0], borderColor: "#F44336",label:"red" },
{ data: props.data[1], borderColor: "#4CAF50",label:"green" },
{ data: props.data[2], borderColor: "#2196F3",label:"blue" },
{ data: props.data[3].map(e=>~~(e/4)), borderColor: "#3F51B5",label:"rgb" }
],
{ data: props.data[0], borderColor: "#F44336", label: "red" },
{ data: props.data[1], borderColor: "#4CAF50", label: "green" },
{ data: props.data[2], borderColor: "#2196F3", label: "blue" },
{
data: props.data[3].map((e) => ~~(e / 4)),
borderColor: "#3F51B5",
label: "rgb",
},
],
};
});
const chartOptions = reactive({
responsive: true,
scales: {
yAxes: [
{
type: "logarithmic",
},
],
},
});
</script>
<template>
Expand Down
29 changes: 0 additions & 29 deletions v0.1.0.md

This file was deleted.

0 comments on commit 04a7fee

Please sign in to comment.