Forum Replies Created by Malvi Panchal

Viewing 7 posts - 1 through 7 (of 7 total)
  • in reply to: Export Chart #34131

    Hello,

    can we customize export chart menus and their methods ?

    For example, I only want “Save as Image” in export menus. so can that be possible ?

    in reply to: Time axis with valueFormatString not working #34083

    Hi Indranil,

    Thanks for the explanation. But my doubt is why the behavior is different for both the datapoints.
    Please take a look at this jsfiddle. In this example try “datapoints1” and “datapoints2” and check x-axis labels, you will see for datapoints1 its using label property and for datapoints2 its formatting by “valueFormatString”. So as per my understanding for both the cases it should consider “valueFormatString” not label value.

    • This reply was modified 2 years, 12 months ago by Malvi Panchal.
    • This reply was modified 2 years, 12 months ago by Malvi Panchal.
    in reply to: Time axis with valueFormatString not working #34063

    Hello,

    I am using multiseries line chart. In that valueFormatString: “hh:mm TT” for x-axis labels is used and also label is added to datapoints.
    so sometimes its taking labels and sometimes valueFormatString.

    for example, for below timestamps its taking labels of datapoints as a x-axis labels
    “data”: [{
    “x”: 1619032560000,
    “label”:”Apr-22-2021 00:46″,
    “y”: “19.563”,
    }, {
    “x”: 1619032620000,
    “label”:”Apr-22-2021 00:47″,
    “y”: “19.566”,
    }

    and for below data its taking valueFormatString for x-axis label format,
    “data”: [{
    “x”: 1606377256000,
    “label”:”Nov-22-2021 00:46″,
    “y”: “-99.159”,
    }, {
    “x”: 1606377616000,
    “label”:”Nov-22-2021 00:47″,
    “y”: “-134.617”,
    }
    I am converting timestamp into standard javascript date-time format, new Date(x)

    so can u please explain on what value it depends ?

    in reply to: Tooltip for multiseries line chart #32105

    Hey Indranil, This is perfect. Thank you so much. It was very helpful. Thanks!!

    in reply to: Tooltip for multiseries line chart #32075

    Hi Indranil,

    Thanks for the given solution but it is not working in my case. I am using contentFormatter https://canvasjs.com/docs/charts/chart-options/tooltip/content-formatter/ so toolTipContent is already null. Please let me know if you have any solution for this. It will be appreciated. Thanks.

    in reply to: x-axis tick/labels for first and last values #31776

    Hi Vishwas,

    Thanks for the solution. This helped me accomplishing the requirement.

    in reply to: x-axis tick/labels for first and last values #31759

    Hello,

    Any update on this? I am using multiseries line chart with live data and it has dates on x-axis. I also want to display first and last label on x-axis.

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