Forum Replies Created by Priyanka M S

Viewing 15 posts - 256 through 270 (of 393 total)
  • in reply to: Chart dosen't work in partial view #21989

    @KatiDev,

    Please refer the instructions provided to integrate CanvasJS with ASP.NET in our documentation.

    If you still face an issue in rendering charts, kindly share a sample project with the issue your are facing over onedrive or google-drive so that we can understand your scenario better and help you out.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: MySQL – (Displaying Date-Time values on a Chart Axis) #21982

    JohnSnowGum,

    Please refer this documentation page for step-to-step tutorial on rendering chart with data from JSON source.
    chart from external json
    Please take a look into this JSFiddle for an example on chart with date here the data is served from an external JSON source.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: toolTipContent – Lock your browser #21981

    @gussmarcaro,

    Thanks for reporting this issue. It happens when you try to format tooltip content using {#percent%} for the dataPoints that has y value 0 and tooltip is shared. We will reconsider this issue and fix it in our future releases.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: MySQL – (Displaying Date-Time values on a Chart Axis) #21961

    JohnSnowGum,

    You can calculate the frequency the date-occurrences in the data & build a set of datapoints. Please refer the code-snippet below.

    function calculateFrequency(dateArray) {
      dateArray.sort();
      var currentXValue = null;
      var count = 0;
    
      for (var i = 0; i < dateArray.length; i++) {
        if (dateArray[i] != currentXValue) {
          if (count > 0)
            dps.push({x: new Date(currentXValue), y: count});
          currentXValue = dateArray[i];
          count = 1;
        } else {
          count++;
        }
      }
      if (count > 0)
        dps.push({x: new Date(currentXValue), y: count});
    }
    

    Please take a look at this JSFiddle for complete code. This example reads data from an array instead of database.
    column chart with data based on frequency of x occurrences

    __
    Priyanka M S
    Team CanvasJS

    in reply to: Transform jstl view code to thymeleaf code #21960

    @taszta,

    Please take a look at this sample project for integrating CanvasJS in Spring MVC web-project that uses Thymeleaf template engine as view layer.

    CanvasJS Chart in Thymeleaf

    Also, check out this thread for more information.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: how can i plot live data in a chart? #21953

    @raktimprat,

    Please take a look at this jsfiddle. Here, the chart gets dynamically updated according to the external JSON source provided. Similarly, you can use a different data source that updates dynamically to plot a dynamic chart.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: Creating Charts from CSV Please help #21951

    @adirgapalit,

    Trial Version is for evaluation purposes for up to 30 days. To use charts without ‘Trial Version’ and ‘CanvasJS’ Credit Link you will need to have a Commercial Version of CanvasJS. Please contact sales@canvasjs.com for sales related queries.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: ToolTipContent Breaks StackedArea Chart #21907

    @npshannon,

    Thanks for reporting this use-case. It seems to happen when you are trying to format tooltip content using {#percent%} for the dataPoints that has y value 0 and tooltip is shared. We will fix this issue in our future releases.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: ToolTipContent Breaks StackedArea Chart #21893

    @npshannon,

    We are looking into it and will get back to you at the earliest.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: Service expectation gap chart #21887

    @dtrivedi,

    You can upload image in imgur.com and share the link with us to show your requirements. Also, please share sample data over onedrive or google-drive so that we can understand your requirement better and help you out.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: Real time multi series graph from JSON #21873

    Vulpe,

    Please take a look at this jsfiddle.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: Service expectation gap chart #21872

    @dtrivedi,

    Thanks for your interest in CanvasJS. Are you looking for column charts?

    If not, please brief us further about the type of chart you would like to use. Also, kindly provide a pictorial representation depicting your requirement along with sample data, so that we can understand your requirement better and help you out.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: How to remove padding from 'stackedbar'? #21868

    @ethicalsector,

    Padding is considered at the time of rendering and it varies from element to element. Padding applied to the elements are dependent on each other, hence it is not possible to control padding for one element externally and expect the other elements to be aligned properly.

    We will reconsider this behavior in our future releases.

    __
    Priyanka M S
    Team CanvasJS

    in reply to: Stackedbar chart with more feature #21866

    @mhdajmalik,

    Zoom in and Zoom out is not working

    Please take a look at this jsfiddle. Setting appropriate minimum and maximum values should work fine.

    Line Marker:- I don’t want the whole line, I need a line like what we marked in image 1 (see image-1, marked as option 1)

    This feature is not available as of now. However, you can place stripLines at the values you need, as shown in this jsfiddle.

    Can I handle zoom in and zoom out by an event (see image-1, marked as option 2)

    This feature is not available as of now. However, you can achieve this by changing viewportMinimum and viewportMaximum every time zoom in / zoom out is clicked.

    __
    Priyanka M S
    TeamCanvasJS

    in reply to: NON-PROFIT 501(C)(3) PRICE REDUCTION #21857

    @N1QFH,

    Thanks for your interest in CanvasJS. Our sales team will get in touch with you soon. For any sales related queries, please contact sales@canvasjs.com

    __
    Priyanka M S
    Team CanvasJS

Viewing 15 posts - 256 through 270 (of 393 total)