Hi I have img like this. I think this will be barchart but when i create it does not like this img, so I think make it like list record. But when I css for width of each row depend on the number. So I have no idea about this. Anyone have any idea? Thank for reading this

Solution

Hi Dat,

You can place a container in your list and set width of the container in its style property something like this:

"width:"+DecimalToText(YourCurrentRecordValue/YourMaxValue*100) + "%"

If you want to show some content within the bar you can place your expression inside this same container. Keep in mind that width will be in %.

Solution

Nikhil Gaur wrote:

Hi Dat,

You can place a container in your list and set width of the container in its style property something like this:

"width:"+DecimalToText(YourCurrentRecordValue/YourMaxValue*100) + "%"

If you want to show some content within the bar you can place your expression inside this same container. Keep in mind that width will be in %.

Thanks for helping me.