Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
berndpodhradsky
Partner - Contributor III
Partner - Contributor III

.NET SDK ShowTitle Property

Even after working with the .NET SDK for a few years now I still sometimes don't get what's going on. In the following code I try to change the setting of a visualization that determines whether the title shall be shown or not:

... [variable vis contains the Visualization object]...
Using vis.SuspendedLayout
    vis.Properties.ShowTitles = false
    Console.Log(vis.Properties.ShowTitles) <--- outputs TRUE! Why!?
End Using
Console.Log(vis.Properties.ShowTitles) <--- also outputs TRUE! Why!?

As you can see, setting "ShowTitles" for some reason doesn't work. Immediately after setting it, outputting the same property to the console outputs TRUE (why!?) and I never see the layout of the object changing (neither in code nor in the object in the app itself).

Any idea what's going on?

Thanks in advance,
Bernd

6 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Does vis.Properties return a pointer to the properties or a clone?  You could test it out with

var props = vis.Properties;
props.ShowTitles = false;
Console.Log(props.ShowTitles);

-Rob

Øystein_Kolsrud
Employee
Employee

I don't see this behavior when I try it. I'd suggest you turn on a DebugConsole like this to see what is going on:

Using new DebugConsole()
Using vis.SuspendedLayout
    vis.Properties.ShowTitles = false
    Console.Log(vis.Properties.ShowTitles) <--- outputs TRUE! Why!?
End Using
End Using

 

berndpodhradsky
Partner - Contributor III
Partner - Contributor III
Author

Hi!

This code...

Using New Qlik.Engine.Communication.DebugConsole(lWriter)
    Using lVis.SuspendedLayout
        lVis.Properties.ShowTitles = False
    End Using
End Using

...produces the following output:

[2021-Mär-05T14:14:31.285] SEND: --- 157421 [160]
{
  "jsonrpc": "2.0",
  "id": 160,
  "method": "GetProperties",
  "handle": 59,
  "params": []
}
[2021-Mär-05T14:14:31.292] RECEIVE: --- 157421 [156]
{
  "jsonrpc": "2.0",
  "id": 156,
  "result": {
    "qProp": {
      "qInfo": {
        "qId": "b8a62c1f-8b21-4160-969a-8fa502da735b",
        "qType": "linechart"
      },
      "qMetaDef": {},
      "qHyperCubeDef": {
        "qDimensions": [
          {
            "qLibraryId": "3ce675bf-3718-42ac-bfe2-86dfadb0c96d",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "nmbsm",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          },
          {
            "qLibraryId": "cf1d8ef8-4020-4f81-b487-514c354875b4",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "WJNL",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          }
        ],
        "qMeasures": [
          {
            "qLibraryId": "FAeJZM",
            "qDef": {
              "qTags": [],
              "qGrouping": "N",
              "qAccumulate": 0,
              "qActiveExpression": 0,
              "qExpressions": [],
              "autoSort": true,
              "cId": "gwtYQY",
              "numFormatFromTemplate": true,
              "quarantine": {
                "qNumFormat": {},
                "isCustomFormatted": false
              }
            },
            "qSortBy": {
              "qSortByNumeric": -1,
              "qSortByLoadOrder": 1,
              "qExpression": {}
            },
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCond": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qTrendLines": [],
            "qMiniChartDef": {
              "qSortBy": {
                "qExpression": {}
              },
              "qOtherTotalSpec": {
                "qOtherMode": "OTHER_OFF",
                "qOtherCounted": {},
                "qOtherLimit": {},
                "qOtherLimitMode": "OTHER_GT_LIMIT",
                "qForceBadValueKeeping": true,
                "qApplyEvenWhenPossiblyWrongResult": true,
                "qOtherSortMode": "OTHER_SORT_DESCENDING",
                "qTotalMode": "TOTAL_OFF",
                "qReferencedExpression": {}
              },
              "qMaxNumberPoints": -1,
              "qAttributeExpressions": []
            }
          }
        ],
        "qInterColumnSortOrder": [
          0,
          2,
          1
        ],
        "qSuppressMissing": true,
        "qInitialDataFetch": [
          {
            "qLeft": 0,
            "qTop": 0,
            "qWidth": 17,
            "qHeight": 500
          }
        ],
        "qReductionMode": "N",
        "qMode": "K",
        "qPseudoDimPos": -1,
        "qNoOfLeftDims": -1,
        "qAlwaysFullyExpanded": true,
        "qMaxStackedCells": 5000,
        "qCalcCond": {},
        "qTitle": {},
        "qCalcCondition": {
          "qCond": {},
          "qMsg": {}
        },
        "qColumnOrder": [],
        "qExpansionState": [],
        "qLayoutExclude": {
          "qHyperCubeDef": {
            "qDimensions": [],
            "qMeasures": [],
            "qInterColumnSortOrder": [],
            "qInitialDataFetch": [],
            "qReductionMode": "N",
            "qMode": "S",
            "qPseudoDimPos": -1,
            "qNoOfLeftDims": -1,
            "qMaxStackedCells": 5000,
            "qCalcCond": {},
            "qTitle": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qColumnOrder": [],
            "qExpansionState": []
          }
        }
      },
      "refLine": {
        "refLines": [],
        "dimRefLines": []
      },
      "showTitles": true,
      "title": "Sales per Region",
      "subtitle": "",
      "footnote": "",
      "disableNavMenu": false,
      "showDetails": false,
      "components": [],
      "lineType": "line",
      "stackedArea": false,
      "separateStacking": true,
      "orientation": "horizontal",
      "scrollbar": "none",
      "scrollStartPos": 0,
      "nullMode": "gap",
      "dataPoint": {
        "show": true,
        "showLabels": true
      },
      "gridLine": {
        "auto": true,
        "spacing": 2
      },
      "color": {
        "auto": true,
        "mode": "primary",
        "formatting": {
          "numFormatFromTemplate": true
        },
        "useBaseColors": "off",
        "paletteColor": {
          "index": 6
        },
        "useDimColVal": true,
        "useMeasureGradient": true,
        "persistent": true,
        "expressionIsColor": true,
        "expressionLabel": "",
        "measureScheme": "sg",
        "reverseScheme": false,
        "dimensionScheme": "12",
        "autoMinMax": true,
        "measureMin": 0,
        "measureMax": 10
      },
      "legend": {
        "show": true,
        "dock": "auto",
        "showTitle": true
      },
      "dimensionAxis": {
        "continuousAuto": true,
        "show": "labels",
        "label": "auto",
        "dock": "near",
        "axisDisplayMode": "auto",
        "maxVisibleItems": 10
      },
      "preferContinuousAxis": true,
      "measureAxis": {
        "show": "labels",
        "dock": "near",
        "spacing": 0.5,
        "autoMinMax": true,
        "minMax": "min",
        "min": 0,
        "max": 10,
        "logarithmic": false
      },
      "tooltip": {
        "auto": true,
        "hideBasic": false,
        "title": "",
        "description": ""
      },
      "visualization": "linechart",
      "showMiniChartForContinuousAxis": true
    }
  }
}
[2021-Mär-05T14:14:31.306] RECEIVE: --- 157421 [157]
{
  "jsonrpc": "2.0",
  "id": 157,
  "result": {
    "qProp": {
      "qInfo": {
        "qId": "b8a62c1f-8b21-4160-969a-8fa502da735b",
        "qType": "linechart"
      },
      "qMetaDef": {},
      "qHyperCubeDef": {
        "qDimensions": [
          {
            "qLibraryId": "3ce675bf-3718-42ac-bfe2-86dfadb0c96d",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "nmbsm",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          },
          {
            "qLibraryId": "cf1d8ef8-4020-4f81-b487-514c354875b4",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "WJNL",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          }
        ],
        "qMeasures": [
          {
            "qLibraryId": "FAeJZM",
            "qDef": {
              "qTags": [],
              "qGrouping": "N",
              "qAccumulate": 0,
              "qActiveExpression": 0,
              "qExpressions": [],
              "autoSort": true,
              "cId": "gwtYQY",
              "numFormatFromTemplate": true,
              "quarantine": {
                "qNumFormat": {},
                "isCustomFormatted": false
              }
            },
            "qSortBy": {
              "qSortByNumeric": -1,
              "qSortByLoadOrder": 1,
              "qExpression": {}
            },
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCond": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qTrendLines": [],
            "qMiniChartDef": {
              "qSortBy": {
                "qExpression": {}
              },
              "qOtherTotalSpec": {
                "qOtherMode": "OTHER_OFF",
                "qOtherCounted": {},
                "qOtherLimit": {},
                "qOtherLimitMode": "OTHER_GT_LIMIT",
                "qForceBadValueKeeping": true,
                "qApplyEvenWhenPossiblyWrongResult": true,
                "qOtherSortMode": "OTHER_SORT_DESCENDING",
                "qTotalMode": "TOTAL_OFF",
                "qReferencedExpression": {}
              },
              "qMaxNumberPoints": -1,
              "qAttributeExpressions": []
            }
          }
        ],
        "qInterColumnSortOrder": [
          0,
          2,
          1
        ],
        "qSuppressMissing": true,
        "qInitialDataFetch": [
          {
            "qLeft": 0,
            "qTop": 0,
            "qWidth": 17,
            "qHeight": 500
          }
        ],
        "qReductionMode": "N",
        "qMode": "K",
        "qPseudoDimPos": -1,
        "qNoOfLeftDims": -1,
        "qAlwaysFullyExpanded": true,
        "qMaxStackedCells": 5000,
        "qCalcCond": {},
        "qTitle": {},
        "qCalcCondition": {
          "qCond": {},
          "qMsg": {}
        },
        "qColumnOrder": [],
        "qExpansionState": [],
        "qLayoutExclude": {
          "qHyperCubeDef": {
            "qDimensions": [],
            "qMeasures": [],
            "qInterColumnSortOrder": [],
            "qInitialDataFetch": [],
            "qReductionMode": "N",
            "qMode": "S",
            "qPseudoDimPos": -1,
            "qNoOfLeftDims": -1,
            "qMaxStackedCells": 5000,
            "qCalcCond": {},
            "qTitle": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qColumnOrder": [],
            "qExpansionState": []
          }
        }
      },
      "refLine": {
        "refLines": [],
        "dimRefLines": []
      },
      "showTitles": true,
      "title": "Sales per Region",
      "subtitle": "",
      "footnote": "",
      "disableNavMenu": false,
      "showDetails": false,
      "components": [],
      "lineType": "line",
      "stackedArea": false,
      "separateStacking": true,
      "orientation": "horizontal",
      "scrollbar": "none",
      "scrollStartPos": 0,
      "nullMode": "gap",
      "dataPoint": {
        "show": true,
        "showLabels": true
      },
      "gridLine": {
        "auto": true,
        "spacing": 2
      },
      "color": {
        "auto": true,
        "mode": "primary",
        "formatting": {
          "numFormatFromTemplate": true
        },
        "useBaseColors": "off",
        "paletteColor": {
          "index": 6
        },
        "useDimColVal": true,
        "useMeasureGradient": true,
        "persistent": true,
        "expressionIsColor": true,
        "expressionLabel": "",
        "measureScheme": "sg",
        "reverseScheme": false,
        "dimensionScheme": "12",
        "autoMinMax": true,
        "measureMin": 0,
        "measureMax": 10
      },
      "legend": {
        "show": true,
        "dock": "auto",
        "showTitle": true
      },
      "dimensionAxis": {
        "continuousAuto": true,
        "show": "labels",
        "label": "auto",
        "dock": "near",
        "axisDisplayMode": "auto",
        "maxVisibleItems": 10
      },
      "preferContinuousAxis": true,
      "measureAxis": {
        "show": "labels",
        "dock": "near",
        "spacing": 0.5,
        "autoMinMax": true,
        "minMax": "min",
        "min": 0,
        "max": 10,
        "logarithmic": false
      },
      "tooltip": {
        "auto": true,
        "hideBasic": false,
        "title": "",
        "description": ""
      },
      "visualization": "linechart",
      "showMiniChartForContinuousAxis": true
    }
  }
}
[2021-Mär-05T14:14:31.329] RECEIVE: --- 157421 [158]
{
  "jsonrpc": "2.0",
  "id": 158,
  "result": {
    "qProp": {
      "qInfo": {
        "qId": "b8a62c1f-8b21-4160-969a-8fa502da735b",
        "qType": "linechart"
      },
      "qMetaDef": {},
      "qHyperCubeDef": {
        "qDimensions": [
          {
            "qLibraryId": "3ce675bf-3718-42ac-bfe2-86dfadb0c96d",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "nmbsm",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          },
          {
            "qLibraryId": "cf1d8ef8-4020-4f81-b487-514c354875b4",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "WJNL",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          }
        ],
        "qMeasures": [
          {
            "qLibraryId": "FAeJZM",
            "qDef": {
              "qTags": [],
              "qGrouping": "N",
              "qAccumulate": 0,
              "qActiveExpression": 0,
              "qExpressions": [],
              "autoSort": true,
              "cId": "gwtYQY",
              "numFormatFromTemplate": true,
              "quarantine": {
                "qNumFormat": {},
                "isCustomFormatted": false
              }
            },
            "qSortBy": {
              "qSortByNumeric": -1,
              "qSortByLoadOrder": 1,
              "qExpression": {}
            },
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCond": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qTrendLines": [],
            "qMiniChartDef": {
              "qSortBy": {
                "qExpression": {}
              },
              "qOtherTotalSpec": {
                "qOtherMode": "OTHER_OFF",
                "qOtherCounted": {},
                "qOtherLimit": {},
                "qOtherLimitMode": "OTHER_GT_LIMIT",
                "qForceBadValueKeeping": true,
                "qApplyEvenWhenPossiblyWrongResult": true,
                "qOtherSortMode": "OTHER_SORT_DESCENDING",
                "qTotalMode": "TOTAL_OFF",
                "qReferencedExpression": {}
              },
              "qMaxNumberPoints": -1,
              "qAttributeExpressions": []
            }
          }
        ],
        "qInterColumnSortOrder": [
          0,
          2,
          1
        ],
        "qSuppressMissing": true,
        "qInitialDataFetch": [
          {
            "qLeft": 0,
            "qTop": 0,
            "qWidth": 17,
            "qHeight": 500
          }
        ],
        "qReductionMode": "N",
        "qMode": "K",
        "qPseudoDimPos": -1,
        "qNoOfLeftDims": -1,
        "qAlwaysFullyExpanded": true,
        "qMaxStackedCells": 5000,
        "qCalcCond": {},
        "qTitle": {},
        "qCalcCondition": {
          "qCond": {},
          "qMsg": {}
        },
        "qColumnOrder": [],
        "qExpansionState": [],
        "qLayoutExclude": {
          "qHyperCubeDef": {
            "qDimensions": [],
            "qMeasures": [],
            "qInterColumnSortOrder": [],
            "qInitialDataFetch": [],
            "qReductionMode": "N",
            "qMode": "S",
            "qPseudoDimPos": -1,
            "qNoOfLeftDims": -1,
            "qMaxStackedCells": 5000,
            "qCalcCond": {},
            "qTitle": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qColumnOrder": [],
            "qExpansionState": []
          }
        }
      },
      "refLine": {
        "refLines": [],
        "dimRefLines": []
      },
      "showTitles": true,
      "title": "Sales per Region",
      "subtitle": "",
      "footnote": "",
      "disableNavMenu": false,
      "showDetails": false,
      "components": [],
      "lineType": "line",
      "stackedArea": false,
      "separateStacking": true,
      "orientation": "horizontal",
      "scrollbar": "none",
      "scrollStartPos": 0,
      "nullMode": "gap",
      "dataPoint": {
        "show": true,
        "showLabels": true
      },
      "gridLine": {
        "auto": true,
        "spacing": 2
      },
      "color": {
        "auto": true,
        "mode": "primary",
        "formatting": {
          "numFormatFromTemplate": true
        },
        "useBaseColors": "off",
        "paletteColor": {
          "index": 6
        },
        "useDimColVal": true,
        "useMeasureGradient": true,
        "persistent": true,
        "expressionIsColor": true,
        "expressionLabel": "",
        "measureScheme": "sg",
        "reverseScheme": false,
        "dimensionScheme": "12",
        "autoMinMax": true,
        "measureMin": 0,
        "measureMax": 10
      },
      "legend": {
        "show": true,
        "dock": "auto",
        "showTitle": true
      },
      "dimensionAxis": {
        "continuousAuto": true,
        "show": "labels",
        "label": "auto",
        "dock": "near",
        "axisDisplayMode": "auto",
        "maxVisibleItems": 10
      },
      "preferContinuousAxis": true,
      "measureAxis": {
        "show": "labels",
        "dock": "near",
        "spacing": 0.5,
        "autoMinMax": true,
        "minMax": "min",
        "min": 0,
        "max": 10,
        "logarithmic": false
      },
      "tooltip": {
        "auto": true,
        "hideBasic": false,
        "title": "",
        "description": ""
      },
      "visualization": "linechart",
      "showMiniChartForContinuousAxis": true
    }
  }
}
[2021-Mär-05T14:14:31.339] RECEIVE: --- 157421 [159]
{
  "jsonrpc": "2.0",
  "id": 159,
  "result": {
    "qProp": {
      "qInfo": {
        "qId": "b8a62c1f-8b21-4160-969a-8fa502da735b",
        "qType": "linechart"
      },
      "qMetaDef": {},
      "qHyperCubeDef": {
        "qDimensions": [
          {
            "qLibraryId": "3ce675bf-3718-42ac-bfe2-86dfadb0c96d",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "nmbsm",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          },
          {
            "qLibraryId": "cf1d8ef8-4020-4f81-b487-514c354875b4",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "WJNL",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          }
        ],
        "qMeasures": [
          {
            "qLibraryId": "FAeJZM",
            "qDef": {
              "qTags": [],
              "qGrouping": "N",
              "qAccumulate": 0,
              "qActiveExpression": 0,
              "qExpressions": [],
              "autoSort": true,
              "cId": "gwtYQY",
              "numFormatFromTemplate": true,
              "quarantine": {
                "qNumFormat": {},
                "isCustomFormatted": false
              }
            },
            "qSortBy": {
              "qSortByNumeric": -1,
              "qSortByLoadOrder": 1,
              "qExpression": {}
            },
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCond": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qTrendLines": [],
            "qMiniChartDef": {
              "qSortBy": {
                "qExpression": {}
              },
              "qOtherTotalSpec": {
                "qOtherMode": "OTHER_OFF",
                "qOtherCounted": {},
                "qOtherLimit": {},
                "qOtherLimitMode": "OTHER_GT_LIMIT",
                "qForceBadValueKeeping": true,
                "qApplyEvenWhenPossiblyWrongResult": true,
                "qOtherSortMode": "OTHER_SORT_DESCENDING",
                "qTotalMode": "TOTAL_OFF",
                "qReferencedExpression": {}
              },
              "qMaxNumberPoints": -1,
              "qAttributeExpressions": []
            }
          }
        ],
        "qInterColumnSortOrder": [
          0,
          2,
          1
        ],
        "qSuppressMissing": true,
        "qInitialDataFetch": [
          {
            "qLeft": 0,
            "qTop": 0,
            "qWidth": 17,
            "qHeight": 500
          }
        ],
        "qReductionMode": "N",
        "qMode": "K",
        "qPseudoDimPos": -1,
        "qNoOfLeftDims": -1,
        "qAlwaysFullyExpanded": true,
        "qMaxStackedCells": 5000,
        "qCalcCond": {},
        "qTitle": {},
        "qCalcCondition": {
          "qCond": {},
          "qMsg": {}
        },
        "qColumnOrder": [],
        "qExpansionState": [],
        "qLayoutExclude": {
          "qHyperCubeDef": {
            "qDimensions": [],
            "qMeasures": [],
            "qInterColumnSortOrder": [],
            "qInitialDataFetch": [],
            "qReductionMode": "N",
            "qMode": "S",
            "qPseudoDimPos": -1,
            "qNoOfLeftDims": -1,
            "qMaxStackedCells": 5000,
            "qCalcCond": {},
            "qTitle": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qColumnOrder": [],
            "qExpansionState": []
          }
        }
      },
      "refLine": {
        "refLines": [],
        "dimRefLines": []
      },
      "showTitles": true,
      "title": "Sales per Region",
      "subtitle": "",
      "footnote": "",
      "disableNavMenu": false,
      "showDetails": false,
      "components": [],
      "lineType": "line",
      "stackedArea": false,
      "separateStacking": true,
      "orientation": "horizontal",
      "scrollbar": "none",
      "scrollStartPos": 0,
      "nullMode": "gap",
      "dataPoint": {
        "show": true,
        "showLabels": true
      },
      "gridLine": {
        "auto": true,
        "spacing": 2
      },
      "color": {
        "auto": true,
        "mode": "primary",
        "formatting": {
          "numFormatFromTemplate": true
        },
        "useBaseColors": "off",
        "paletteColor": {
          "index": 6
        },
        "useDimColVal": true,
        "useMeasureGradient": true,
        "persistent": true,
        "expressionIsColor": true,
        "expressionLabel": "",
        "measureScheme": "sg",
        "reverseScheme": false,
        "dimensionScheme": "12",
        "autoMinMax": true,
        "measureMin": 0,
        "measureMax": 10
      },
      "legend": {
        "show": true,
        "dock": "auto",
        "showTitle": true
      },
      "dimensionAxis": {
        "continuousAuto": true,
        "show": "labels",
        "label": "auto",
        "dock": "near",
        "axisDisplayMode": "auto",
        "maxVisibleItems": 10
      },
      "preferContinuousAxis": true,
      "measureAxis": {
        "show": "labels",
        "dock": "near",
        "spacing": 0.5,
        "autoMinMax": true,
        "minMax": "min",
        "min": 0,
        "max": 10,
        "logarithmic": false
      },
      "tooltip": {
        "auto": true,
        "hideBasic": false,
        "title": "",
        "description": ""
      },
      "visualization": "linechart",
      "showMiniChartForContinuousAxis": true
    }
  }
}
[2021-Mär-05T14:14:31.342] RECEIVE: --- 157421 [160]
{
  "jsonrpc": "2.0",
  "id": 160,
  "result": {
    "qProp": {
      "qInfo": {
        "qId": "b8a62c1f-8b21-4160-969a-8fa502da735b",
        "qType": "linechart"
      },
      "qMetaDef": {},
      "qHyperCubeDef": {
        "qDimensions": [
          {
            "qLibraryId": "3ce675bf-3718-42ac-bfe2-86dfadb0c96d",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "nmbsm",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          },
          {
            "qLibraryId": "cf1d8ef8-4020-4f81-b487-514c354875b4",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "WJNL",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          }
        ],
        "qMeasures": [
          {
            "qLibraryId": "FAeJZM",
            "qDef": {
              "qTags": [],
              "qGrouping": "N",
              "qAccumulate": 0,
              "qActiveExpression": 0,
              "qExpressions": [],
              "autoSort": true,
              "cId": "gwtYQY",
              "numFormatFromTemplate": true,
              "quarantine": {
                "qNumFormat": {},
                "isCustomFormatted": false
              }
            },
            "qSortBy": {
              "qSortByNumeric": -1,
              "qSortByLoadOrder": 1,
              "qExpression": {}
            },
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCond": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qTrendLines": [],
            "qMiniChartDef": {
              "qSortBy": {
                "qExpression": {}
              },
              "qOtherTotalSpec": {
                "qOtherMode": "OTHER_OFF",
                "qOtherCounted": {},
                "qOtherLimit": {},
                "qOtherLimitMode": "OTHER_GT_LIMIT",
                "qForceBadValueKeeping": true,
                "qApplyEvenWhenPossiblyWrongResult": true,
                "qOtherSortMode": "OTHER_SORT_DESCENDING",
                "qTotalMode": "TOTAL_OFF",
                "qReferencedExpression": {}
              },
              "qMaxNumberPoints": -1,
              "qAttributeExpressions": []
            }
          }
        ],
        "qInterColumnSortOrder": [
          0,
          2,
          1
        ],
        "qSuppressMissing": true,
        "qInitialDataFetch": [
          {
            "qLeft": 0,
            "qTop": 0,
            "qWidth": 17,
            "qHeight": 500
          }
        ],
        "qReductionMode": "N",
        "qMode": "K",
        "qPseudoDimPos": -1,
        "qNoOfLeftDims": -1,
        "qAlwaysFullyExpanded": true,
        "qMaxStackedCells": 5000,
        "qCalcCond": {},
        "qTitle": {},
        "qCalcCondition": {
          "qCond": {},
          "qMsg": {}
        },
        "qColumnOrder": [],
        "qExpansionState": [],
        "qLayoutExclude": {
          "qHyperCubeDef": {
            "qDimensions": [],
            "qMeasures": [],
            "qInterColumnSortOrder": [],
            "qInitialDataFetch": [],
            "qReductionMode": "N",
            "qMode": "S",
            "qPseudoDimPos": -1,
            "qNoOfLeftDims": -1,
            "qMaxStackedCells": 5000,
            "qCalcCond": {},
            "qTitle": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qColumnOrder": [],
            "qExpansionState": []
          }
        }
      },
      "refLine": {
        "refLines": [],
        "dimRefLines": []
      },
      "showTitles": true,
      "title": "Sales per Region",
      "subtitle": "",
      "footnote": "",
      "disableNavMenu": false,
      "showDetails": false,
      "components": [],
      "lineType": "line",
      "stackedArea": false,
      "separateStacking": true,
      "orientation": "horizontal",
      "scrollbar": "none",
      "scrollStartPos": 0,
      "nullMode": "gap",
      "dataPoint": {
        "show": true,
        "showLabels": true
      },
      "gridLine": {
        "auto": true,
        "spacing": 2
      },
      "color": {
        "auto": true,
        "mode": "primary",
        "formatting": {
          "numFormatFromTemplate": true
        },
        "useBaseColors": "off",
        "paletteColor": {
          "index": 6
        },
        "useDimColVal": true,
        "useMeasureGradient": true,
        "persistent": true,
        "expressionIsColor": true,
        "expressionLabel": "",
        "measureScheme": "sg",
        "reverseScheme": false,
        "dimensionScheme": "12",
        "autoMinMax": true,
        "measureMin": 0,
        "measureMax": 10
      },
      "legend": {
        "show": true,
        "dock": "auto",
        "showTitle": true
      },
      "dimensionAxis": {
        "continuousAuto": true,
        "show": "labels",
        "label": "auto",
        "dock": "near",
        "axisDisplayMode": "auto",
        "maxVisibleItems": 10
      },
      "preferContinuousAxis": true,
      "measureAxis": {
        "show": "labels",
        "dock": "near",
        "spacing": 0.5,
        "autoMinMax": true,
        "minMax": "min",
        "min": 0,
        "max": 10,
        "logarithmic": false
      },
      "tooltip": {
        "auto": true,
        "hideBasic": false,
        "title": "",
        "description": ""
      },
      "visualization": "linechart",
      "showMiniChartForContinuousAxis": true
    }
  }
}
[2021-Mär-05T14:14:31.351] SEND: --- 157421 [161]
{
  "jsonrpc": "2.0",
  "id": 161,
  "method": "GetProperties",
  "handle": 59,
  "params": []
}
[2021-Mär-05T14:14:31.354] RECEIVE: --- 157421 [161]
{
  "jsonrpc": "2.0",
  "id": 161,
  "result": {
    "qProp": {
      "qInfo": {
        "qId": "b8a62c1f-8b21-4160-969a-8fa502da735b",
        "qType": "linechart"
      },
      "qMetaDef": {},
      "qHyperCubeDef": {
        "qDimensions": [
          {
            "qLibraryId": "3ce675bf-3718-42ac-bfe2-86dfadb0c96d",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "nmbsm",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          },
          {
            "qLibraryId": "cf1d8ef8-4020-4f81-b487-514c354875b4",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "WJNL",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          }
        ],
        "qMeasures": [
          {
            "qLibraryId": "FAeJZM",
            "qDef": {
              "qTags": [],
              "qGrouping": "N",
              "qAccumulate": 0,
              "qActiveExpression": 0,
              "qExpressions": [],
              "autoSort": true,
              "cId": "gwtYQY",
              "numFormatFromTemplate": true,
              "quarantine": {
                "qNumFormat": {},
                "isCustomFormatted": false
              }
            },
            "qSortBy": {
              "qSortByNumeric": -1,
              "qSortByLoadOrder": 1,
              "qExpression": {}
            },
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCond": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qTrendLines": [],
            "qMiniChartDef": {
              "qSortBy": {
                "qExpression": {}
              },
              "qOtherTotalSpec": {
                "qOtherMode": "OTHER_OFF",
                "qOtherCounted": {},
                "qOtherLimit": {},
                "qOtherLimitMode": "OTHER_GT_LIMIT",
                "qForceBadValueKeeping": true,
                "qApplyEvenWhenPossiblyWrongResult": true,
                "qOtherSortMode": "OTHER_SORT_DESCENDING",
                "qTotalMode": "TOTAL_OFF",
                "qReferencedExpression": {}
              },
              "qMaxNumberPoints": -1,
              "qAttributeExpressions": []
            }
          }
        ],
        "qInterColumnSortOrder": [
          0,
          2,
          1
        ],
        "qSuppressMissing": true,
        "qInitialDataFetch": [
          {
            "qLeft": 0,
            "qTop": 0,
            "qWidth": 17,
            "qHeight": 500
          }
        ],
        "qReductionMode": "N",
        "qMode": "K",
        "qPseudoDimPos": -1,
        "qNoOfLeftDims": -1,
        "qAlwaysFullyExpanded": true,
        "qMaxStackedCells": 5000,
        "qCalcCond": {},
        "qTitle": {},
        "qCalcCondition": {
          "qCond": {},
          "qMsg": {}
        },
        "qColumnOrder": [],
        "qExpansionState": [],
        "qLayoutExclude": {
          "qHyperCubeDef": {
            "qDimensions": [],
            "qMeasures": [],
            "qInterColumnSortOrder": [],
            "qInitialDataFetch": [],
            "qReductionMode": "N",
            "qMode": "S",
            "qPseudoDimPos": -1,
            "qNoOfLeftDims": -1,
            "qMaxStackedCells": 5000,
            "qCalcCond": {},
            "qTitle": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qColumnOrder": [],
            "qExpansionState": []
          }
        }
      },
      "refLine": {
        "refLines": [],
        "dimRefLines": []
      },
      "showTitles": true,
      "title": "Sales per Region",
      "subtitle": "",
      "footnote": "",
      "disableNavMenu": false,
      "showDetails": false,
      "components": [],
      "lineType": "line",
      "stackedArea": false,
      "separateStacking": true,
      "orientation": "horizontal",
      "scrollbar": "none",
      "scrollStartPos": 0,
      "nullMode": "gap",
      "dataPoint": {
        "show": true,
        "showLabels": true
      },
      "gridLine": {
        "auto": true,
        "spacing": 2
      },
      "color": {
        "auto": true,
        "mode": "primary",
        "formatting": {
          "numFormatFromTemplate": true
        },
        "useBaseColors": "off",
        "paletteColor": {
          "index": 6
        },
        "useDimColVal": true,
        "useMeasureGradient": true,
        "persistent": true,
        "expressionIsColor": true,
        "expressionLabel": "",
        "measureScheme": "sg",
        "reverseScheme": false,
        "dimensionScheme": "12",
        "autoMinMax": true,
        "measureMin": 0,
        "measureMax": 10
      },
      "legend": {
        "show": true,
        "dock": "auto",
        "showTitle": true
      },
      "dimensionAxis": {
        "continuousAuto": true,
        "show": "labels",
        "label": "auto",
        "dock": "near",
        "axisDisplayMode": "auto",
        "maxVisibleItems": 10
      },
      "preferContinuousAxis": true,
      "measureAxis": {
        "show": "labels",
        "dock": "near",
        "spacing": 0.5,
        "autoMinMax": true,
        "minMax": "min",
        "min": 0,
        "max": 10,
        "logarithmic": false
      },
      "tooltip": {
        "auto": true,
        "hideBasic": false,
        "title": "",
        "description": ""
      },
      "visualization": "linechart",
      "showMiniChartForContinuousAxis": true
    }
  }
}
[2021-Mär-05T14:14:31.360] SEND: --- 157421 [162]
{
  "jsonrpc": "2.0",
  "id": 162,
  "method": "SetProperties",
  "handle": 59,
  "params": [
    {
      "qInfo": {
        "qId": "b8a62c1f-8b21-4160-969a-8fa502da735b",
        "qType": "linechart"
      },
      "qMetaDef": {},
      "qHyperCubeDef": {
        "qDimensions": [
          {
            "qLibraryId": "3ce675bf-3718-42ac-bfe2-86dfadb0c96d",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "nmbsm",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          },
          {
            "qLibraryId": "cf1d8ef8-4020-4f81-b487-514c354875b4",
            "qDef": {
              "qGrouping": "N",
              "qFieldDefs": [],
              "qFieldLabels": [],
              "qSortCriterias": [
                {
                  "qSortByNumeric": 1,
                  "qSortByAscii": 1,
                  "qSortByLoadOrder": 1,
                  "qExpression": {}
                }
              ],
              "qNumberPresentations": [],
              "qActiveField": 0,
              "autoSort": true,
              "cId": "WJNL",
              "othersLabel": "Sonstige"
            },
            "qOtherTotalSpec": {
              "qOtherMode": "OTHER_OFF",
              "qOtherCounted": {
                "qv": "10"
              },
              "qOtherLimit": {
                "qv": "0"
              },
              "qOtherLimitMode": "OTHER_GE_LIMIT",
              "qForceBadValueKeeping": true,
              "qApplyEvenWhenPossiblyWrongResult": true,
              "qOtherSortMode": "OTHER_SORT_DESCENDING",
              "qTotalMode": "TOTAL_OFF",
              "qReferencedExpression": {}
            },
            "qOtherLabel": {
              "qv": "Sonstige"
            },
            "qTotalLabel": {},
            "qCalcCond": {},
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            }
          }
        ],
        "qMeasures": [
          {
            "qLibraryId": "FAeJZM",
            "qDef": {
              "qTags": [],
              "qGrouping": "N",
              "qAccumulate": 0,
              "qActiveExpression": 0,
              "qExpressions": [],
              "autoSort": true,
              "cId": "gwtYQY",
              "numFormatFromTemplate": true,
              "quarantine": {
                "qNumFormat": {},
                "isCustomFormatted": false
              }
            },
            "qSortBy": {
              "qSortByNumeric": -1,
              "qSortByLoadOrder": 1,
              "qExpression": {}
            },
            "qAttributeExpressions": [],
            "qAttributeDimensions": [],
            "qCalcCond": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qTrendLines": [],
            "qMiniChartDef": {
              "qSortBy": {
                "qExpression": {}
              },
              "qOtherTotalSpec": {
                "qOtherMode": "OTHER_OFF",
                "qOtherCounted": {},
                "qOtherLimit": {},
                "qOtherLimitMode": "OTHER_GT_LIMIT",
                "qForceBadValueKeeping": true,
                "qApplyEvenWhenPossiblyWrongResult": true,
                "qOtherSortMode": "OTHER_SORT_DESCENDING",
                "qTotalMode": "TOTAL_OFF",
                "qReferencedExpression": {}
              },
              "qMaxNumberPoints": -1,
              "qAttributeExpressions": []
            }
          }
        ],
        "qInterColumnSortOrder": [
          0,
          2,
          1
        ],
        "qSuppressMissing": true,
        "qInitialDataFetch": [
          {
            "qLeft": 0,
            "qTop": 0,
            "qWidth": 17,
            "qHeight": 500
          }
        ],
        "qReductionMode": "N",
        "qMode": "K",
        "qPseudoDimPos": -1,
        "qNoOfLeftDims": -1,
        "qAlwaysFullyExpanded": true,
        "qMaxStackedCells": 5000,
        "qCalcCond": {},
        "qTitle": {},
        "qCalcCondition": {
          "qCond": {},
          "qMsg": {}
        },
        "qColumnOrder": [],
        "qExpansionState": [],
        "qLayoutExclude": {
          "qHyperCubeDef": {
            "qDimensions": [],
            "qMeasures": [],
            "qInterColumnSortOrder": [],
            "qInitialDataFetch": [],
            "qReductionMode": "N",
            "qMode": "S",
            "qPseudoDimPos": -1,
            "qNoOfLeftDims": -1,
            "qMaxStackedCells": 5000,
            "qCalcCond": {},
            "qTitle": {},
            "qCalcCondition": {
              "qCond": {},
              "qMsg": {}
            },
            "qColumnOrder": [],
            "qExpansionState": []
          }
        }
      },
      "refLine": {
        "refLines": [],
        "dimRefLines": []
      },
      "showTitles": true,
      "title": "Sales per Region",
      "subtitle": "",
      "footnote": "",
      "disableNavMenu": false,
      "showDetails": false,
      "components": [],
      "lineType": "line",
      "stackedArea": false,
      "separateStacking": true,
      "orientation": "horizontal",
      "scrollbar": "none",
      "scrollStartPos": 0,
      "nullMode": "gap",
      "dataPoint": {
        "show": true,
        "showLabels": true
      },
      "gridLine": {
        "auto": true,
        "spacing": 2
      },
      "color": {
        "auto": true,
        "mode": "primary",
        "formatting": {
          "numFormatFromTemplate": true
        },
        "useBaseColors": "off",
        "paletteColor": {
          "index": 6
        },
        "useDimColVal": true,
        "useMeasureGradient": true,
        "persistent": true,
        "expressionIsColor": true,
        "expressionLabel": "",
        "measureScheme": "sg",
        "reverseScheme": false,
        "dimensionScheme": "12",
        "autoMinMax": true,
        "measureMin": 0,
        "measureMax": 10
      },
      "legend": {
        "show": true,
        "dock": "auto",
        "showTitle": true
      },
      "dimensionAxis": {
        "continuousAuto": true,
        "show": "labels",
        "label": "auto",
        "dock": "near",
        "axisDisplayMode": "auto",
        "maxVisibleItems": 10
      },
      "preferContinuousAxis": true,
      "measureAxis": {
        "show": "labels",
        "dock": "near",
        "spacing": 0.5,
        "autoMinMax": true,
        "minMax": "min",
        "min": 0,
        "max": 10,
        "logarithmic": false
      },
      "tooltip": {
        "auto": true,
        "hideBasic": false,
        "title": "",
        "description": ""
      },
      "visualization": "linechart",
      "showMiniChartForContinuousAxis": true
    }
  ]
}
[2021-Mär-05T14:14:31.362] RECEIVE: --- 157421 [162]
{
  "jsonrpc": "2.0",
  "id": 162,
  "result": {}
}

 It seems to me that in the "SendProperties" request the "showTitle" is still true.

Bernd

Øystein_Kolsrud
Employee
Employee

There's quite a few GetProperty results there. 6 in total as far as I count. It looks to me like that object is having activity on another thread as well. My guess is that the property is overwritten in a different thread after you set the property but before the SuspendedLayout instance performs the SetProperty call. You should probably check where those other GetProperties are coming from.

Or you could explicitly call "GetProperty"/"SetProperty" instead thereby making the sequence stateless instead of going through the automatic syncing of the "Properties" member. Like this:

Dim p = o.GetProperties().As(Of VisualizationBaseProperties)
p.ShowTitles = false
o.SetProperties(p)

 

berndpodhradsky
Partner - Contributor III
Partner - Contributor III
Author

Hi!

Thanks for your answer. There is no other thread doing anything with that object. Interestingly enough, if I do what you suggest, it works. However, I'm absolutely sure that there is no other thread (because it's a console app and it runs on a single thread only).

Bernd

Øystein_Kolsrud
Employee
Employee

Odd... Well, if you feel like investigating that further, then I'd recommend you try to see where all those other GetProperties are coming from. You could even try to run it in the debugger and put a break point at the "Using vis.SuspendedLayout" line then step through the program. You might not necessarily get the same behavior if you do so.