Forum Replies Created by Indranil

Viewing 15 posts - 391 through 405 (of 807 total)
  • in reply to: Render multiple charts in same page #26662

    @tfrege,

    Can you please create and share a JSFiddle reproducing the issue, so that we can look into your code, understand it better and help you out.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Hide AxisY #26649

    @nsn,

    Setting valueFormatString defines the format for labels appearing on Axis Y, which doesn’t include the negative symbol (-) incase of negative number. Instead, using labelFormatter to return an empty string should work fine in this case. Please check the below code snippet –

    axisY:{
      title: "",
      tickLength: 0,
      lineThickness:0,
      margin:0,
      labelFormatter: function(e) {
         return "";
      }
    },

    Also, kindly take a look at this updated JSFiddle.

    hiding axis label

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: line chart #26643

    @divyesh,

    Can you please brief us further about your requirement along with a pictorial representation so that we can understand your scenario better and help you out.

    ___________
    Indranil Deo,
    Team CanvasJS

    in reply to: Hide AxisY #26640

    @nsn,

    It seems to be working fine and not showing any ticks ‘-‘. Can you kindly create JSFiddle reproducing the issue and share it with us so that we can look into the code, understand the scenario and help you out?

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: candlestick chart – 'user-input' tooltip #26621

    @d_vineet,

    You can add custom DOM element (input-field) based on mouse click event as shown in this JSFiddle.

    __________
    Indranil Deo
    Team CanvasJS

    in reply to: base64 #26574

    @senith,

    You can pass the value of variables from JavaScript to PHP code using mechanisms such as GET or POST methods. Please refer this article for more information.

    __________
    Indranil Deo
    Team CanvasJS

    in reply to: Drilldown with Ajax and MVC #26530

    @hecatonchireslm,

    Please download the sample project from this link to create Drilldown chart in ASP.NET MVC. An instructions.txt file has been included for your convenience with instructions to set up the project and get the charts running.

    In case you are still facing any issue, please create a sample project with a sample database and share it over Google-Drive or Onedrive so that we can look into the code, understand the scenario better and help you out?

    __________
    Indranil Deo
    Team CanvasJS

    in reply to: candlestick chart – 'user-input' tooltip #26331

    @d_vineet,

    You can add an option to the specific dataPoint with the required description/comment and use the toolTipContent to customize the information showed on the toolTip. Please take a look at this JSFiddle.

    __________
    Indranil Deo
    Team CanvasJS

    in reply to: Rotate Line Chart #26280

    @javad_s,

    Sorry, line chart can’t be rendered vertically as of now.

    __________
    Indranil Deo
    Team CanvasJS

    in reply to: Computational speed vs number of charts #26266

    Fred,

    When you are rendering multiple charts it involves multiple DOM elements, which may take more time as compared to rendering a multi-series chart with a single DOM element.

    Please try out these performance tests for the above scenarios –

      Rendering multiseries chart in a single DOM element
      Rendering multiple charts inside multiple DOM elements

    __________
    Indranil Deo
    Team CanvasJS

    in reply to: Please make marker hover size customizable #26245

    @pasxa,

    I will discuss this with the development team to consider this feature for the future versions.

    __________
    Indranil Deo
    Team CanvasJS

    in reply to: Percentage In Y #26179

    @tabibintang,

    You can format the y-axis label by adding “%” to the valueFormatString of axisY. Please refer to the below code snippet.

    axisY:{
        valueFormatString:"0'%'"
    },

    Also, kindly take a look at this JSFiddle for an example.

    formatting axisY labels using valueFormatString

    __________
    Indranil Deo
    Team CanvasJS

    @munmun,

    Do you have a sample project with datetime picker attached to it

    Please take a look at this JSFiddle.

    kindly check for this if possible why only double parameters can plot the graph from database and not string / date type data.

    CanvasJS supports numeric and date-time as x-values and when it comes to date-time, it should be JavaScript date object or timestamp. If you like to use string, you can use labels. To pass Java date to JavaScript, you would need to convert Java date to timestamp in milliseconds and pass it to JavaScript. Please refer this stackoverflow thread for more information.

    __________
    Indranil Deo
    Team CanvasJS

    in reply to: Points #26144

    @lokey1410gmail-com,

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

    __________
    Indranil Deo
    Team CanvasJS

    @munmun,

    how to fetch data from oracle database in canvasjs and present in a multiseries line chart. database is oracle and server side lang is java client side is javascript.

    CanvasJS just renders the chart with the set of data being passed to it and doesn’t fetch data. Please refer this tutorial for more information on Querying Oracle Database and fetching data. Please take a look at this Sample Project. The sample shows the integration of CanvasJS charts in Java Server Pages with dataPoints to the chart being read from oracle database.

    also i have a datetime picker so on refreshing the datetime picker accordingly the chart should get populated.

    Updating dataPoints and re-rendering the chart on updating datetime picker should work fine in this case.

    __________
    Indranil Deo
    Team CanvasJS

Viewing 15 posts - 391 through 405 (of 807 total)