Forum Replies Created by Vishwas R

Viewing 15 posts - 1,021 through 1,035 (of 1,601 total)
  • in reply to: Dynamic Image Placement on Each Bar #21353

    @promano17,

    Please take a look at this jsfiddle.

    Also please refer to the tutorial on Positioning Images over Chart for more info.


    Vishwas R
    Team CanvasJS

    in reply to: Add labelMinWidth property to axis #21343

    @xio-technologies,

    Thanks for your valuable suggestion on labelMinWidth. I will discuss with the team regarding.

    Meanwhile, you can get reference of the chart components that are created and set the axis margin as shown in the jsfiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Scrollable Tooltip #21335

    @brianali,

    Tooltip doesn’t capture any events. Setting pointer-events: auto !important; along with setting height and overflow-y should work fine in your case. Please refer this documentation page for more information on toolTip. Also take a look at this JSFiddle for an example on same.
    JavaScript Chart Tooltip


    Vishwas R
    Team CanvasJS

    in reply to: For Custom Colors Of Pie chart #21334

    @ankitpilania,

    You can add custom colorSet, which is an array of colors, to render chart data with custom colors.

    custom color set

    Can you kindly create JSFiddle or share sample project reproducing the issue you are facing over Google-Drive or Onedrive so that we can understand your code & scenario better and help you out.


    Vishwas R
    Team CanvasJS

    in reply to: Export To xlsx #21300

    @ehudg,

    Exporting chart data as xlsx or csv is not supported as of now. However with couple of lines of code, you can achieve this. Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Add labelMinWidth property to axis #21297

    @xio-technologies,

    Thanks for your feedback.

    You can align axisY of multiple chart by setting margin based on axisX bounds. Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    @sadashiv,

    The package that you are using through npm is not an official package but from a third party.

    You can download CanvasJS from our download page and save it (canvasjs.min.js) in source folder of your project (‘src/app’ or ‘src/app/assets/js’ or ‘src/app/lib’) and import the CanvasJS library to your app using import * as CanvasJS from './canvasjs.min' (path may vary based on file location like ‘./assets/js/canvasjs.min’ or ‘./lib/canvasjs.min’).

    Out library works with all versions of Angular / AngularJS. Please take a look at this gallery page for examples on integrating CanvasJS in angular apps. Also take a look at this sample project for an example on adding CanvasJS in Angular 5 App.

    Column Chart in Angular 5


    Vishwas R
    Team CanvasJS

    in reply to: toolTip – can it be docked #21231

    Vineet,

    You can fix the position of the toolTip by adding style to toolTip DOM (canvasjs-chart-tooltip class). Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Interested to Purchase Canvas JS – Immediately #21204

    @nirmalya,

    Thanks for your interest in purchasing CanvasJS. I have forwarded your query to our sales team. They will get in touch with you soon and assist you purchase appropriate license :)


    Vishwas R
    Team CanvasJS

    in reply to: Dynamic name Option #21203

    @chetnath,

    You can use toolTip contentFormatter to format the content to the be displayed in toolTip. Please take a look at this JSFiddle.

    For further queries, kindly create JSFiddle along with sample data, so that we can look into working code, understand it better and help you out.


    Vishwas R
    Team CanvasJS

    in reply to: How to add dynamic multiple line in Y axis #21197

    @govind,

    Please refer this tutorial for step-to-step guide on rendering Live Updating Charts from JSON API & AJAX.
    Dynamic Chart with data from JSON


    Vishwas R
    Team CanvasJS

    in reply to: Dynamic name Option #21194

    @Chetnath,

    You can assign any valid string as dataSeries name either directly or by passing a variable that’s a string. Please take a look at this jsfiddle.

    If you are looking for something else, can kindly create a jsfiddle and brief further about your requirement so that we can understand it better and help you out?


    Vishwas R
    Team CanvasJS

    in reply to: Chart is not displaying #21193

    Sankalp,

    Retrieving data from database has been handled in service.php which is loaded in index.php using AJAX request. You can combine both into a single php file according to your requirement / coding-style. Please take a look at this updated sample project.

    The sample projects shared seems to be working fine, can you kindly check browser console for any errors? Also can you kindly brief more about the issue you are facing like screenshot of the output, whether the chart is rendering with just axis atleast or chart is not at all rendering, etc which helps us understand your scenario better and help you out?
    PHP MultiSeries Column Chart

    Please refer PHP Chart from Database for an example on rendering chart in PHP from database. Also you can download & checkout PHP Samples from our download page.


    Vishwas R
    Team CanvasJS

    in reply to: ScaleBreaks on candlestick not working properly #21192

    @rathhna,

    Scale-breaks seems to be working fine in the use-case you have shared. However as you have mentioned in your other post, there seems to be issue when candlestick chart is combined with column chart. Please take a look at this updated jsfiddle where the scale-break that you have applied is working fine irrespective of chart-type.

    Considering this as duplicate of your other post I’m closing this post.


    Vishwas R
    Team CanvasJS

    in reply to: Very thick candlestick borders #21191

    @rathhna,

    Thanks for reporting the use-case, it seems to happen when candlestick is combined with column chart. We will look into the issue and get back to you at the earliest.


    Vishwas R
    Team CanvasJS

Viewing 15 posts - 1,021 through 1,035 (of 1,601 total)