Home forums Chart Support Linechart and rangebar with same y range.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #31642


    I have linechart and data from SQL.
    Y values are datetime, between date1 and date2.
    This working ok.

    Now i wan’t insert rangebar below linechart and both have same y axis format.
    After that i wan’t insert manually start and end value to rangebar.

        data: [{
            type: "line",
            name: line1,
            color: "#4F81BC",
            showInLegend: true,
            axisYIndex: 0,
            dataPoints: result1_1

    and rangebar:

    	data: [{
    		type: "rangeBar",
    		showInLegend: true,
    		legendText: "",
    		dataPoints: [
    			{ x: 10, y:[ragedate1, ragedate2], label: "rangebar1" },

    Question: how i possible to get y format from SQL received “result1_1” value and insert it to rangebar?




    Can you kindly create a JSFiddle with your use-case, share it with us along with your sample/dummy data, and brief us further so that we can understand the scenario better and help you out?

    Indranil Deo
    Team CanvasJS

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

You must be logged in to reply to this topic.