Skip to content

Commit

Permalink
Merge pull request #47 from jku-vds-lab/jakob/prototype-presentation-…
Browse files Browse the repository at this point in the history
…1.0.0

Change publish name to general names
  • Loading branch information
VAISHALI-DHANOA authored Mar 7, 2022
2 parents ac2e82b + ab317e7 commit 79757ba
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 90 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.tmp
*.statistics.dev.html
*.statistics.dev.html
*.statistics.prod.html
Binary file not shown.
22 changes: 5 additions & 17 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,17 @@
{
"version": "1.0.1",
"author": {
"name": "Jakob Zethofer",
"email": "[email protected]"
},
"version": "1.0.0",
"author": {"name":"Jakob Zethofer","email":"[email protected]"},
"resources": [
{
"resourceId": "rId0",
"sourceType": 5,
"file": "resources/slabprojection3A8101158FC14988B45B304F265A2202.pbiviz.json"
"file": "resources/multistackedcharts3A8101158FC14988B45B304F265A2202.pbiviz.json"
}
],
"visual": {
"name": "slabprojection",
"displayName": "Defect Projection on Slab",
"guid": "slabprojection3A8101158FC14988B45B304F265A2202",
"visualClassName": "Visual",
"version": "1.0.1",
"description": "Custom Visual for displaying multiple stacked charts for defect projection on slab",
"supportUrl": "https://github.com/jku-vds-lab/pro2future-voest-multiple-stacked-charts",
"gitHubUrl": "https://github.com/jku-vds-lab/pro2future-voest-multiple-stacked-charts"
},
"visual": {"name":"multistackedcharts","displayName":"Multiple Stacked Charts","guid":"multistackedcharts3A8101158FC14988B45B304F265A2202","visualClassName":"Visual","version":"1.0.0","description":"Custom Visual for displaying multiple stacked charts","supportUrl":"https://github.com/jku-vds-lab/pro2future-voest-multiple-stacked-charts","gitHubUrl":"https://github.com/jku-vds-lab/pro2future-voest-multiple-stacked-charts"},
"metadata": {
"pbivizjson": {
"resourceId": "rId0"
}
}
}
}
Binary file modified dist/slabprojection3A8101158FC14988B45B304F265A2202.1.0.0.pbiviz
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions pbiviz.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"visual": {
"name": "slabprojection",
"displayName": "Defect Projection on Slab",
"guid": "slabprojection3A8101158FC14988B45B304F265A2202",
"name": "multistackedcharts",
"displayName": "Multiple Stacked Charts",
"guid": "multistackedcharts3A8101158FC14988B45B304F265A2202",
"visualClassName": "Visual",
"version": "1.0.0",
"description": "Custom Visual for displaying multiple stacked charts for defect projection on slab",
"description": "Custom Visual for displaying multiple stacked charts",
"supportUrl": "https://github.com/jku-vds-lab/pro2future-voest-multiple-stacked-charts",
"gitHubUrl": "https://github.com/jku-vds-lab/pro2future-voest-multiple-stacked-charts"
},
Expand Down
2 changes: 1 addition & 1 deletion src/marginSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Margins } from './plotInterface';

export class MarginSettings {
static readonly svgTopPadding = 0;
static readonly svgBottomPadding = 0;
static readonly svgBottomPadding = 15;
static readonly plotTitleHeight = 18;
static readonly legendHeight = 20;
static readonly dotMargin = 4;
Expand Down
52 changes: 26 additions & 26 deletions src/visual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class Visual implements IVisual {

private drawLegend() {
const margins = this.viewModel.generalPlotSettings;
const yPosition = margins.legendYPostion;
const yPosition = margins.legendYPostion+10;
const legendData = this.viewModel.legend.legendValues;
let widths = [];
let width = margins.margins.left;
Expand Down Expand Up @@ -755,31 +755,31 @@ export class Visual implements IVisual {
});
break;
case Settings.legendSettings:
objectEnumeration.push({
objectName: objectName,
properties: {
legendTitle: <string>getValue(objects, Settings.legendSettings, LegendSettingsNames.legendTitle, "Legend"),
},
selector: null
});
objectEnumeration.push({
objectName: objectName,
displayName: "testing",
properties: {
legendColor: <string>getValue(objects, Settings.legendSettings, LegendSettingsNames.legendColor, "Lnd"),

},
selector: dataViewWildcard.createDataViewWildcardSelector(dataViewWildcard.DataViewWildcardMatchingOption.InstancesAndTotals)
});
objectEnumeration.push({
objectName: objectName,
displayName: "testi2ng",
properties: {
legendColor: <string>getValue(objects, Settings.legendSettings, LegendSettingsNames.legendColor, "Lnd"),

},
selector: dataViewWildcard.createDataViewWildcardSelector(dataViewWildcard.DataViewWildcardMatchingOption.InstancesAndTotals)
});
// objectEnumeration.push({
// objectName: objectName,
// properties: {
// legendTitle: <string>getValue(objects, Settings.legendSettings, LegendSettingsNames.legendTitle, "Legend"),
// },
// selector: null
// });
// objectEnumeration.push({
// objectName: objectName,
// displayName: "testing",
// properties: {
// legendColor: <string>getValue(objects, Settings.legendSettings, LegendSettingsNames.legendColor, "Lnd"),

// },
// selector: dataViewWildcard.createDataViewWildcardSelector(dataViewWildcard.DataViewWildcardMatchingOption.InstancesAndTotals)
// });
// objectEnumeration.push({
// objectName: objectName,
// displayName: "testi2ng",
// properties: {
// legendColor: <string>getValue(objects, Settings.legendSettings, LegendSettingsNames.legendColor, "Lnd"),

// },
// selector: dataViewWildcard.createDataViewWildcardSelector(dataViewWildcard.DataViewWildcardMatchingOption.InstancesAndTotals)
// });
break;
case Settings.zoomingSettings:

Expand Down
41 changes: 0 additions & 41 deletions webpack.statistics.prod.html

This file was deleted.

0 comments on commit 79757ba

Please sign in to comment.