Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
dernasherbrezon committed Jan 26, 2024
1 parent cbe98b8 commit d05a137
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 45 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# r2cloud-ui [![Build Status](https://travis-ci.com/dernasherbrezon/r2cloud-ui.svg?branch=master)](https://travis-ci.com/dernasherbrezon/r2cloud-ui)
# r2cloud-ui [![Main Workflow](https://github.com/dernasherbrezon/r2cloud-ui/actions/workflows/build.yml/badge.svg)](https://github.com/dernasherbrezon/r2cloud-ui/actions/workflows/build.yml)

Screenshots

Expand Down
19 changes: 0 additions & 19 deletions build-debian.sh

This file was deleted.

25 changes: 0 additions & 25 deletions src/components/AzElChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export default {
var AzElScale = Chart.scaleService.getScaleConstructor('radialLinear').extend({
getPointPositionForValue: function(index, value) {
console.log(value)
var me = this;
var scalingFactor = me.drawingArea / (me.max - me.min);
return {
Expand All @@ -83,8 +82,6 @@ export default {
};
},
getDistanceFromCenterForValue: function(value) {
console.log("here: " + value);
//console.trace();
var me = this;
// Take into account half font size + the yPadding of the top value
var scalingFactor = me.drawingArea / (me.max - me.min);
Expand All @@ -102,28 +99,6 @@ export default {
// line._loop = false;
// this will make line instead of square
var AzElChart = Chart.controllers.radar.extend({
_setDatasetHoverStyle: function() {
var element = this.getMeta().dataset;
var prev = {};
var i, ilen, key, keys, hoverOptions, model;
if (!element) {
return;
}
model = element._model;
hoverOptions = this._resolveDatasetElementOptions(element, true);
keys = Object.keys(hoverOptions);
for (i = 0, ilen = keys.length; i < ilen; ++i) {
key = keys[i];
prev[key] = model[key];
model[key] = hoverOptions[key];
}
element.$previousStyle = prev;
console.log("here");
},
update: function(reset) {
var me = this;
var meta = me.getMeta();
Expand Down

0 comments on commit d05a137

Please sign in to comment.