Skip to content

Commit

Permalink
update dashboard maps to work with new build
Browse files Browse the repository at this point in the history
  • Loading branch information
billyc committed Dec 9, 2021
1 parent 9ae05d4 commit 4c6bf5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
10 changes: 1 addition & 9 deletions src/charts/heatmap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,7 @@ export default class VueComponent extends Vue {
},
}
private data = [
{
x: [] as any[],
y: [] as any[],
z: [] as any[],
type: 'heatmap',
automargin: true,
},
]
private data = [] as any
private options = {
displaylogo: false,
Expand Down
7 changes: 3 additions & 4 deletions src/charts/map-polygons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export default class VueComponent extends Vue {
@Prop({ required: true }) datamanager!: DashboardDataManager
private fileApi!: HTTPFileSystem
private thread!: any
private boundaries: any[] = []
private centroids: any[] = []
Expand All @@ -44,10 +43,8 @@ export default class VueComponent extends Vue {
private useCircles = false
private sliderOpacity = 80
private globalState = this.$store.state
private maxValue = 1000
private expColors = this.config.exponentColors
private expColors = false
private get mapProps() {
return {
Expand All @@ -63,6 +60,8 @@ export default class VueComponent extends Vue {
}
private async mounted() {
this.expColors = this.config.exponentColors
this.fileApi = new HTTPFileSystem(this.fileSystemConfig)
// bulmaSlider.attach()
Expand Down

0 comments on commit 4c6bf5e

Please sign in to comment.