Home Forums StockChart Support Having ($) in data.

Having ($) in data.

Viewing 4 posts - 1 through 4 (of 4 total)
  • #32595

    I need to have a ($) sign in front of the data.

    Any idea how? I tried doing this:

    dataPoints: [
    			{y: '$79.45', label: "Google"},
    			{y: '$7.31', label: "Bing"},
    			{y: '$7.06', label: "Baidu"},
    			{y: '$4.91', label: "Yahoo"},
    			{y: '$1.26', label: "Others"}
    ]
    #32596

    This does not display anything!

    #32597

    Figured It Out:

    yValueFormatString: "$#,##0.## Used"

    #32601

    @alphamirage,

    Glad you figured it out that you can achieve your requirement by using yValueFormatString. :)


    Shashi Ranjan
    Team CanvasJS

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.