Forum Replies Created

Viewing 15 posts - 1 through 15 (of 501 total)
  • Author
    Posts
  • in reply to: dropdown filter #28472

    @armin,

    Can you please share a screenshot and brief us further about your requirements so that we can understand your scenario better and help you out with an appropriate solution.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: PHP dynamic graph interval update #28463

    @mrt4c,

    Please take a look at this gallery example for creating a Dynamic chart in PHP. To trigger the shift operation in the dataPoints please use the shift() as shown in this documentation page.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: chart Data point draggable in Angular #28438

    @irfanwzd,

    Please take a look at this documentation page for step by step instruction to create a chart with draggable dataPoints. The shown example works fine across JS frameworks like React, Angular, etc.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Multiple Intervals #28423

    @9dan7,

    Displaying labels at an unequal interval is not possible as of now. However, you can use stripLine to display labels at the desired value.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Setting Consistent Y axis value on Column Charts #28417

    Jim,

    Thanks for your appreciation. Feedback from users like you makes our day happier.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Setting Consistent Y axis value on Column Charts #28384

    @jimginn,

    The maximum and the minimum values of the axes are auto-calculated based on the range of the dataPoints. However you can override the auto-calculated value by setting the maximum property.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Date format on chart when zoomed #28358

    Joa,

    The JSFiddle shared seems to be working fine. Kindly check browser console for any errors.

    If you are facing any other issue with CanvasJS, kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you out.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Custom Graph with arrow placed at pre-selected X value #28356

    @restyl1997,

    I want to send an X value to this chart and have it selected, so the tool tip shows up where that X point is. How could I do that?

    Showing toolTip programmatically is not possible as of now. However, this feature is there in our wish-list and would be available in future versions.

    Additionally, I want to add a vertical arrow from the top of the red area to the top of the blue line as shown in the first image.

    Adding arrow/custom drawing on chart is not available as an inbuild feature, as of now.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Dynamic chart w shifting array #28333

    @el-berto,

    uncommenting the line //dataPoints.shift(); in the above example will trigger the shift operation for dataPoints.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Too many labels #28332

    @sbsbsb,

    labelAutoFit considers parameters like the width of the chart, number of labels to be shown, the width of the labels, etc. and sets labelAngle, labelFontSize etc. to avoid the overlapping of labels.

    Since we don’t have direct control over the graph margins, I actually measured what they were and simply applied a negative margin in the CSS to obtain an effective margin of zero. This sort of simple hack won’t work if I don’t know what the margin is a priori. To my mind, this is a problem with the API design. Deciding the amount of margin should be decoupled from the algorithm that auto-spaces the labels.

    Can you please create a JSFiddle reproducing the above scenario and brief us further about the same.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: transform by equation #28302

    @vpaswin1994,

    Can you please brief us further about your requirement with an example or a JSFiddle so that we can understand your scenario better and help you out with a solution.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: A duplicate borderThickness declaration incompatible #28279

    @mgol,

    CanvasJS code, both 2.1 & the latest 2.3.2 contains a duplicate key definition in one of the objects. This is allowed everywhere in ES6+ but it was disallowed in ES5 strict mode which is what IE implements. I do realize CanvasJS is technically not written in strict mode but some tools impose its restrictions.

    Besides, there’s hardly any point in duplicate object keys. This is because the following object definition:
    var o = { a: 1, a: 2 };
    will produce an object { a: 2 } – the last definition wins. The CanvasJS object in question first defines borderThickness:this.labelBorderThickness and then borderThickness:0; the first of them can be removed. Can you do that?

    Thanks for reporting the issue, we will fix it in our future releases.

    I submitted it first at https://canvasjs.com/forums/topic/a-duplicate-borderthickness-declaration-incompaible/ but when I edited my post, it disappeared completely & I had to re-type everything. :( Please fix the forum.

    We deeply regret the inconvenience caused. We have escalated the issue to the concerned team.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: reset zoom button hint text #28252

    @elbit12,

    You can use culture to set the text of the tooltip shown over the reset button.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Rendering Data to Chart #28239

    @prathyushchefmiddleeast-com,

    Can you kindly create a sample project with sample data reproducing the issue and share it with us over Google-Drive or Onedrive, so that we can look into your code, understand your scenario better and help you out?

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Too many labels #28238

    @sbsbsb,

    labelAutoFit wraps and/or rotates and/or reduces font size of the label when they are too long and overlaps, it finds the best-fit and automatically manages label overlapping. Setting it to true(defaults to true) should work fine in your case.

    Also, if you are passing x-value as a timestamp to display date time over axis X, please set xValueType to “dateTime”.

    ___________
    Indranil Deo
    Team CanvasJS

Viewing 15 posts - 1 through 15 (of 501 total)