Compare commits

..

6 Commits

Author SHA1 Message Date
giovanni hanselius
61b339b146 Merge pull request #18 from qlik-oss/QPE-479
[QPE-479] Qlik defaults
2019-02-21 15:42:31 +01:00
giovanni hanselius
fc363d7739 Merge pull request #20 from qlik-oss/export
exporting image and PDF enabled
2019-02-20 16:01:27 +01:00
ahmed-Bazzara
35d4dde118 exporting image and PDF enabled 2019-02-20 15:50:54 +01:00
ahmed-Bazzara
e70e76a401 small font size is set to be default
and its value matched to Qlik defalut font size
2019-02-20 15:44:36 +01:00
ahmed-Bazzara
34477d7ef1 qlik font added to the fonts dropdown
and was made a default value
2019-02-18 16:12:40 +01:00
Tobias Åström
b65d1c51fc Update qlik-smart-pivot.qext 2019-02-16 10:49:46 +01:00
4 changed files with 15 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Smart pivot",
"description": "Formatted table for P&L reports.",
"name": "P&L pivot",
"description": "Profit & Loss reporting with color and font customizations.",
"type": "visualization",
"version": "X.Y.Z",
"icon": "table",

View File

@@ -139,6 +139,10 @@ const formatted = {
component: 'dropdown',
label: 'FontFamily',
options: [
{
value: 'QlikView Sans',
label: 'QlikView Sans'
},
{
value: 'Arial',
label: 'Arial'
@@ -164,7 +168,7 @@ const formatted = {
label: 'Verdana'
}
],
defaultValue: 'Calibri'
defaultValue: 'QlikView Sans'
},
DataFontSize: {
ref: 'lettersize',
@@ -181,7 +185,7 @@ const formatted = {
label: 'Medium'
}
],
defaultValue: 2
defaultValue: 1
},
ColumnWidthSlider: {
type: 'number',

View File

@@ -25,6 +25,11 @@ export default {
qMeasures: []
}
},
support: {
export: true,
exportData: true,
snapshot: true
},
paint ($element, layout) {
try {
paint($element, layout, this);

View File

@@ -39,8 +39,8 @@ function getAlignment (option) {
function getFontSizeAdjustment (option) {
const fontSizeAdjustmentOptions = {
1: -2,
2: 0,
1: -1,
2: 1,
3: 2
};