Show values in Horizontal

I want to make url and show bar chart in URL
I have List of dates and list of revenue.
I want to show list of dates in vertically
I want to show revenue in Horizontal.
how can i do that.
I stuck there Dates and revenue are shown in vertically.
" params = params[:-1] + ‘^&revenue=’"
how to do this in c# or “params[:-1]”