Forum Replies Created by Vishwas R

Viewing 15 posts - 496 through 510 (of 1,624 total)
  • in reply to: default color hexa code #27134

    @amitkushwaha1710,

    Currently, there is no documented API to fetch current colorset of dataPoints in a single series – whereas you can get color of dataSeries (incase of multiseries chart as chart.data[index].get("color")). But you can get the colors of dataPoints as chart._selectedColorSet. As this API is undocumented it might be removed in the future releases.

    As this feature has been requested by many other CanvasJS users, we will consider getting current colorset as public API in the future versions.


    Vishwas R
    Team CanvasJS

    in reply to: Support for minPointLength in Column charts #27133

    @ayanghatak,

    Sorry, this feature is not available as of now. However with few lines of code, you can set minimum height to the columns with y-value as 0 as shown in this JSFiddle.

    Thanks for your suggestion, we will reconsider this behavior in future releases.


    Vishwas R
    Team CanvasJS

    in reply to: Major and Minor Ticks / Gridlines #27132

    Leo,

    You can add minor-grids to axisX, when axisX is of date-time type, as shown in this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Disable click event while using zoom #27131

    @bobkirby,

    We had fixed this issue in v1.5.6 as addressed in the comment and seems to be working fine across the browsers like Chrome, Edge, etc. But the issue seems to have re-appeared in recent versions of Firefox and we will fix it at the earliest.


    Vishwas R
    Team CanvasJS

    in reply to: Bug with export logo function #27115

    @animage,

    You can position image on top of chart as shown in this tutorial or with few lines of code, you can draw it on chart and export as shown in this example.

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce your use-case or not able to understand the exact requirements. Having a JSFiddle helps us in understanding your case better and many a times we can just edit your code on JSFiddle to fix the issue right-away. I request you to brief more along with JSFiddle with your use-case if you have further queries or facing any issue.


    Vishwas R
    Team CanvasJS

    in reply to: Display Data #27114

    @sivaraj_m,

    Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Major and Minor Ticks / Gridlines #27113

    Leo,

    You can add stripLines to achieve minor grids as shown in this JSFiddle.


    Vishwas R

    in reply to: Canvas JS Chart Issue in Salesforce Lightning APP #27112

    Ghanshyam Bhatt,

    It seems to be working fine with salesforce lightning component. I tried creating charts in salesforce lightning component with canvasjs.min.js it seems to be working fine. Please take a look at this Github Repo for the working code.

    If you are still facing the issue, kindly share the complete code over Gist / Google-Drive / Onedrive so that we can try running it at our end, understand the scenario better and help you out.


    Vishwas R
    Team CanvasJS

    in reply to: plotting two lines #27111

    @solidsandwich,

    There seems to be issue with variable declaration. Declaring dataPoints2 should work fine in this case. Please take a look at this JSFiddle for working code.

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce your use-case or not able to understand the exact requirements. Having a JSFiddle helps us in understanding your case better and many a times we can just edit your code on JSFiddle to fix the issue right-away. I request you to brief more along with JSFiddle with your use-case if you have further queries or facing any issue.


    Vishwas R
    Team CanvasJS

    in reply to: Chart data from file #27090

    @atom,

    The issue seems to with mismatch in the brackets in your code. Please check browser-console for error. Closing the get method, window.onload event and declaring dataPoints variable should work fine in your case.
    Error in Browser Console


    Vishwas R
    Team CanvasJS

    in reply to: Scaling #27086

    @vpaswin1994,

    You can programmatically zoom / pan to a region by setting viewportMinimum & viewportMaximum. Please take a look at this JSFiddle which shows setting viewport based on values entered in input-fields.

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce your use-case or not able to understand the exact requirements. Having a JSFiddle helps us in understanding your case better and many a times we can just edit your code on JSFiddle to fix the issue right-away. I request you to brief more along with JSFiddle with your use-case if you have further queries or facing any issue.


    Vishwas R
    Team CanvasJS

    in reply to: Scaling using X-Y Coordinates #27085

    @vpaswin1994,

    You can programmatically zoom / pan to a region by setting viewportMinimum & viewportMaximum. Please take a look at this JSFiddle which shows setting viewport based on values entered in input-fields.

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce your use-case or not able to understand the exact requirements. Having a JSFiddle helps us in understanding your case better and many a times we can just edit your code on JSFiddle to fix the issue right-away. I request you to brief more along with JSFiddle with your use-case if you have further queries or facing any issue.

    Considering this as duplicate of Scaling, hence closing the same.


    Vishwas R
    Team CanvasJS

    in reply to: Older versions #27084

    @hedovove,

    You can download all versions of CanvasJS from My Account page, once you have purchased the license. Please contact sales@canvasjs.com for sales related queries.


    Vishwas R
    Team CanvasJS

    in reply to: No fallingColor in candlesticks chart #27083

    @shaping,

    As of now, risingColor and fallingColor are used to fill the body of candlestick chart whereas border of the body and the color of wick can be controlled by color property of dataSeries. To make entire body and wick to have same color, you can set color property of dataPoint. Please take a look at this JSFiddle for an example which shows customizing the entire candlestick to be single color based on their values.

    Thanks for sharing the use-case, we will reconsider this behavior in future versions.


    Vishwas R
    Team CanvasJS

    in reply to: CORS error when testing demos from a file #27082

    @shaping,

    For security reasons, browsers restrict cross-origin requests. Serving JSON file from local webserver and making an AJAX call to it or serving it from CORS enabled JSON hosting service like myjson.com should work fine. Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

Viewing 15 posts - 496 through 510 (of 1,624 total)