dwong
January 15, 2018, 10:09pm
1
Hi,
I have a newbie question. My data is not showing up in the chart using tm1-chart-ui-dbr. If i use the same reference and switch to tm1-ui-dbr and I can see the number. Does anyone know what causing it or point me to the right direction to debug it?
Below is the actual code i used:
Doesn’t work:
<tm1-ui-chart-dbr tm1-label="test" tm1-instance="iNova"
tm1-cube="Sales"
tm1-elements="Actual,2017-11,AU09,30,Currency Codes,CHC,All Countries,
All Channels,Total Reason Codes,All Customers,All Products,Net Sales">
</tm1-ui-chart-dbr>
Does work:
<tm1-ui-dbr tm1-label="test" tm1-instance="iNova"
tm1-cube="Sales"
tm1-elements="Actual,2017-11,AU09,30,Currency Codes,CHC,All Countries,
All Channels,Total Reason Codes,All Customers,All Products,Net Sales">
</tm1-ui-dbr>
Cheers.
David
tryan
January 15, 2018, 10:51pm
2
Hi @dwong ,
Can you provide the code for the chart as well?
dwong
January 15, 2018, 11:11pm
3
Hi Tim,
I tried to use the simple one below:
<tm1-ui-chart
tm1-chart-type="discreteBar"
tm1-height="300"
tm1-axis-label-x=""
tm1-axis-label-y=""
tm1-data-decimal="0"
tm1-duration="2000"
tm1-margin="{top: 10, right: 10, bottom: 20, left: 10}"
>
<tm1-ui-chart-dbr
tm1-instance="iNova"
tm1-cube="Sales"
tm1-elements="Actual,2017-11,AU09,30,Currency Codes,CHC,All Countries,
All Channels,Total Reason Codes,All Customers,All Products,Net Sales">
tm1-label=“Label”
>
Cheers.
David
tryan
January 15, 2018, 11:21pm
4
That doesn’t seem to be all of the code, there should be a closing </tm1-ui-chart>
tag as well.
dwong
January 15, 2018, 11:40pm
5
Hi Tim,
Sorry the forum trimmed my codes. Here you go.
<tm1-ui-chart
tm1-chart-type="discreteBar"
tm1-height="300"
tm1-axis-label-x=""
tm1-axis-label-y=""
tm1-data-decimal="0"
tm1-duration="2000"
tm1-margin="{top: 10, right: 10, bottom: 20, left: 10}"
>
<tm1-ui-chart-dbr
tm1-instance="iNova"
tm1-cube="Sales"
tm1-elements="Actual,2017-11,AU09,30,Currency Codes,CHC,All Countries,All Channels,Total Reason Codes,All Customers,All Products,Net Sales" tm1-label="Label">
</tm1-ui-chart-dbr>
</tm1-ui-chart>
Cheers.
David
plim
January 16, 2018, 12:16am
6
Hi @dwong ,
Any error in the console?
If no error, can you try to re-create that chart in a page - that only contains that component. We might need to have a look at the network tab for this if there is no error in the console.
–
Paul