Wrap row section headers and change the dimension separators in the table views
Sometimes, the table values cannot be displayed due to a bigger text length of the unwrapped row section headers.
To remediate to this situation, the row section header text needs to be wrapped.
However, when the row section header text is simply auto-wrapped, then the heights of the different row sections are not guaranteed to be equal anymore, which creates issues when vertical scrolling (see the red arrow):
Therefor, the row section header text is to be wrapped in a managed way by replacing the current dimension separators "•
" by line breaks "<br/>
". Since the number of dimensions in all row sections should always be equal, the number of lines used in each row section will remain equal. An other advantage is a better readability of the row section dimensions, because long wrapped texts are not very readable and now scrolling for sections is less needed. The disadvantage would be that it takes more vertical space.
Examples:
- https://de-demo-oecd.siscc.org/vis?lc=en&df[ds]=OECD-staging&df[id]=DSD_QNA%40DF_QNA&df[ag]=OECD.SDD.NAD&df[vs]=1.0&av=true&pd=2019-Q3%2C2022-Q2&dq=Q.FRA............&ly[rs]=ACTIVITY%2CADJUSTMENT&ly[rw]=MEASURE%2CUNIT_MEASURE&ly[cl]=TIME_PERIOD&vw=tb&lb=bt
- https://de-qa.siscc.org/vis?lc=en&df[ds]=qa%3Astable&df[id]=NAMAIN_T0102_Q&df[ag]=OECD.SDD&df[vs]=3.0&av=true&pd=%2C&dq=A..............&ly[rs]=REF_AREA%2CCOUNTERPART_AREA%2CREF_SECTOR%2CINSTR_ASSET%2CEXPENDITURE%2CTABLE_IDENTIFIER%2CACTIVITY&ly[rw]=STO%2CACCOUNTING_ENTRY%2CPRICES&ly[cl]=TIME_PERIOD&vw=tb&lb=nm
----------- Original description ------->
When displaying the following table with labels, the observations are not displayed even if 2017 is the only time period selected. https://de-qa.siscc.org/vis?lc=en&df[ds]=qa%3Astable&df[id]=NAMAIN_T0102_Q&df[ag]=OECD.SDD&df[vs]=3.0&av=true&pd=%2C&dq=A..............&ly[rs]=REF_AREA%2CCOUNTERPART_AREA%2CREF_SECTOR%2CINSTR_ASSET%2CEXPENDITURE%2CTABLE_IDENTIFIER%2CACTIVITY&ly[rw]=STO%2CACCOUNTING_ENTRY%2CPRICES&ly[cl]=TIME_PERIOD&vw=tb&lb=nmIf I switch to Identifiers, I can see the observations.
https://de-qa.siscc.org/vis?lc=en&df[ds]=qa%3Astable&df[id]=NAMAIN_T0102_Q&df[ag]=OECD.SDD&df[vs]=3.0&av=true&pd=%2C&dq=A..............&ly[rs]=REF_AREA%2CCOUNTERPART_AREA%2CREF_SECTOR%2CINSTR_ASSET%2CEXPENDITURE%2CTABLE_IDENTIFIER%2CACTIVITY&ly[rw]=STO%2CACCOUNTING_ENTRY%2CPRICES&ly[cl]=TIME_PERIOD&vw=tb&lb=id
OECD.SDD-NAMAIN_T0102_Q-3.0-all.xml
OECD.SDD-NAMAIN_T0102_Q-3.0-data.csv