Forum Replies Created by Indranil

Viewing 12 posts - 796 through 807 (of 807 total)
  • in reply to: Get Max y Value #15686

    nikunj,

    You can use click event handler for adding indexLabel to dataPoint that is clicked. Please check the code snippet below –

    function onClick(e){      
      e.dataPoint.indexLabel = "Y: " + e.dataPoint.y;
      e.chart.render();	   
    } 

    Also, kindly check this JSFiddle for adding indexLabel on clicking specific dataPoint.

    Add indexLabel on dataPoint click

    ___________
    Indranil Deo
    Team CanvasJS

    @ayy,

    This feature is not available as of now. But you can workaround using stripLines. Please have a look at this example.

    ————-
    Indranil Deo
    Team CanvasJS

    in reply to: Canvas Chart #15684

    Parag,

    Can you kindly create jsfiddle along with the data, so that we can understand and help you out better.

    ————
    Indranil Deo
    Team CanvasJS

    in reply to: Display bug with column charts #15665

    @Hannah,

    Thanks for reporting. We are looking into the issue. We will get back to you at the earliest.

    ————-
    Indranil Deo
    Team CanvasJS

    in reply to: indexLabel in two lines #15660

    @gabrijelita,

    As of now it is not possible to have different font style in the same indexLabel.

    Also drawing grid lines only between dataPoint and axis is not possible as of now. However, you can take a look at this work-around.

    __
    Indranil Deo
    Team CanvasJS

    in reply to: Get Max y Value #15642

    @nikunj,

    For Range Bar Chart, you can take a look at this documentation page.

    In case you are looking for Stacked Range Bar Chart, we don’t have it out of the box yet. But you can take a look at this work-around to achieve the same using Range Bar Chart.

    Stacked Range Bar chart

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Get Max y Value #15634

    @nikunj,

    You can use get() to fetch the minimum and maximum values of the axisY as shown in the code snippet below –

    var max = chart.axisY[0].get("maximum");
    document.getElementById("displayMaximum").innerHTML = max;
    var min = chart.axisY[0].get("minimum");
    document.getElementById("displayMinimum").innerHTML = min;

    Also, please take a look at this JSFiddle for complete working code.

    Display maximum and minimum value of axisY

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: hwo to set diffrent tool tip for each point #15624

    @faisal,

    You can set name of books in the toolTip by using toolTip contentFormatter.

    You can also modify the toolTipContent using toolTipContent at dataPoint or dataSeries level.

    —-
    Indranil Deo,
    Team CanvasJS

    • This reply was modified 7 years, 3 months ago by Indranil.
    in reply to: performance improvement in scatter chart #15607

    @Anthony,

    This is expected because rendering of scatter charts is relatively slower than line charts as it takes more processing.
    And the same applies to the markerType as rendering of circle and triangle requires more calculation.

    ___
    Indranil Deo
    Team CanvasJS

    in reply to: Data Point Mouseover – not very accurate #15578

    @s_t_harvey,

    This feature is not available out of the box as of now. However, you can take a look at this work-around.


    Indranil Deo
    Team CanvasJS

    in reply to: Legend Click on Pie #15563

    Cristi,

    You can achieve this by using itemclick in legend.

    Please take a look at this work-around

    in reply to: Multiseries column charts #15479

    @priya,

    Please download the sample project.

    1.Database.sql is the database file you need to import it in database.
    2.index.php creates Charts using JSON Data from an external source(service.php).
    3.service.php extracts data from database, uses JSON to parse the data and send it to index.php.

    ___
    Indranil Deo
    Team CanvasJS

Viewing 12 posts - 796 through 807 (of 807 total)