Forum Replies Created by patricia.krupa

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: CanvasJS – Get Current Time Range #15008

    Setting intervalType to minute solved it! Thank you!

    in reply to: CanvasJS – Get Current Time Range #15003

    However, those values are some Integers, how can i get the Date values ? Can i set somewhere the type to Date ?

    My options object looks like this:
    {
    zoomEnabled: true,
    title: {
    text: “Temperature History”
    },
    rangeChanged: null,
    data: [
    {
    type: “line”,
    showInLegend: true,
    name: “Temperature”,
    legendText: “Temperature”,
    lineThickness: 1,
    markerType: “circle”,
    //markerSize: 3,
    legendMarkerType: “circle”,
    dataPoints: [ ]
    },
    {
    type: “line”,
    legendText: “Temperature Set”,
    name: “TemperatureSet”,
    showInLegend: true,
    lineThickness: 1,
    markerType: “triangle”,
    //markerSize: 3,
    legendMarkerType: “triangle”,
    dataPoints: []
    }
    ]
    }

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