Forum Replies Created by Vishwas R

Viewing 15 posts - 1,231 through 1,245 (of 1,628 total)
  • in reply to: Unable to get points for the bar chart to hover #19648

    @shikha,

    Events are not being captured in toolTip. So overriding style to toolTip class should work fine in your case. Please try adding following CSS.

    .canvasjs-chart-tooltip, .canvasjs-chart-tooltip > *{
         pointer-events: auto !important;
         -webkit-user-select: auto !important; /* Safari 3.1+ */
         -moz-user-select: auto !important; /* Firefox 2+ */
         -ms-user-select: auto !important; /* IE 10+ */
         user-select: auto !important; /* Standard syntax */
      } 

    Also please take a look at mouseover event handler function where you can get dataSeries, dataPoints, etc values just by hovering on dataPoint.

    Vishwas R
    Team CanvasJS

    in reply to: Unable to get points for the bar chart to hover #19646

    @Shikha,

    Are you looking for adding hyperlink in toolTip? If so, you can do that using toolTipContent as shown in the second example in toolTip page.

    If this doesn’t solve your requirement, can you kindly create jsfiddle along with sample data, so that we can understand it better and help you out?


    Vishwas R
    Team CanvasJS

    in reply to: line chart #19645

    Arun Kumar,

    Can you kindly brief more about your requirement, so that we can understand it better and help you out!


    Vishwas R
    Team CanvasJS

    in reply to: Color the chart based on the Y-Axis #19642

    @redfyre,

    You can use stripLines to achieve this. Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Increase the size while saving as image #19637

    @dixonmd,

    Changing width & height of the chart before exporting it and resetting it back should work fine in your case. Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

    in reply to: line chart #19636

    Arun Kumar,

    Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Serie Shadows #19631

    @kcb4444,

    By giving some delay after first render of chart with animation and rendering it again along with adding shadow should work fine in this scenario. However its not possible to animate chart along with shadow. Please take a look at this updated jsfiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Serie Shadows #19629

    @kcb4444,

    Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

    in reply to: How to stopPropagation when click data point? #19627

    @intijk,

    Can you kindly brief us the behavior you are expecting along with the use-case, so that we can understand it better and help you out?


    Vishwas R
    Team CanvasJS

    in reply to: Missing option legendLineDashType #19623

    Bianca,

    We don’t have plans on supporting dashtypes in legends as of now. But we will consider it for future releases.


    Vishwas R
    Team CanvasJS

    in reply to: Zoom/Pan graphic by keyboard #19622

    @pzn,

    Thanks for the suggestion. This feature is not there in our roadmap as of now but I will discuss this feature with the team & get back to you at the earliest.


    Vishwas R
    Team CanvasJS

    in reply to: Missing option legendLineDashType #19613

    Bianca,

    We are not accepting custom-development at this point of time. However without legendLineDashType property also you can achieve the same as shown in this jsfiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Candlestick colours #19402

    @Penindini,

    You can set dataPoint color based on the the dataPoint value, whether its rising or falling. Please check this jsfiddle for an example.

    function changeBorderColor(chart){
      var dataSeries;
      for( var i = 0; i < chart.options.data.length; i++){
        dataSeries = chart.options.data[i];
        for(var j = 0; j < dataSeries.dataPoints.length; j++){
          dataSeries.dataPoints[j].color = (dataSeries.dataPoints[j].y[0] <= dataSeries.dataPoints[j].y[3]) ? (dataSeries.risingColor ? dataSeries.risingColor : dataSeries.color) : (dataSeries.fallingColor ? dataSeries.fallingColor : dataSeries.color);
        }
      }
    }

    customizing candle stick color


    Vishwas R
    Team CanvasJS

    in reply to: import csv into canvasJS #19401

    @rick2,

    As x-value stored in CSV is data-time, it should be parsed to date object than to float x: parseFloat(points[0]),. Changing it to x: new Date(points[0]), should work fine in your case. Please take a look at this documentation page for step-to-step tutorial on rendering chart with data from CSV.
    Chart using data from CSV


    Vishwas R
    Team CanvasJS

    in reply to: Incorrect label displayed for quarter of the year #19400

    Ravneet,

    Labels / Quarters depends on the dataPoints. If the dataPoint values starts from 4th quarter 2016, labels also start showing from Q4’16 whereas if dataPoint starts from Jan 2017, labels also starts from Q1’17. Please check this updated jsfiddle.

    —-
    Vishwas R
    Team CanvasJS

Viewing 15 posts - 1,231 through 1,245 (of 1,628 total)