Forum Replies Created by Manoj Mohan

Viewing 15 posts - 676 through 690 (of 802 total)
  • in reply to: Drilldown with Ajax and MVC #26581

    @hecatonchireslm,

    Can you kindly share sample project over Google-Drive / OneDrive along with sample data so that we can understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Line chart #26571

    @zubairsaif,

    You can achieve the above requirements by setting color to dataPoints. Please take a look at this JSFiddle.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: canvasjs with python Flask #26569

    @alioune,

    Can you kindly share sample project over Google-Drive / OneDrive along with sample data and also brief us more about the issue you are facing so that we can understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: How do I individually format legend item text styles? #26557

    @henry-zounetapp-com,

    As of now, it’s not possible to style the text of legend as link (underline).

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Drilldown with Ajax and MVC #26545

    @hecatonchireslm,

    Considering this thread as a duplicate of Drilldown with Ajax and MVC and hence closing the same.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: can draw rectangle or ellipse? #26544

    @y-hirano,

    You can use Scatter Chart with markerType set as circle, square to achieve your requirement.

    If this doesn’t fulfill your requirement, kindly share some example / pictorial representation and brief us more about your requirement so that we can understand scenario better and help out.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Chart changing with data size #26543

    @vb123er951,

    Please take a look at this JSFiddle.

    —-
    Manoj Mohan
    Team CanvasJS

    @gowri,

    There are couple of issue with the code that you have shared.

    1. You need to replace chartType with chart in chartType.options.data[0].type as chartType is referred to dropdown field not the chart object.
    chart.options.data[0].type = chartType.options[chartType.selectedIndex].value;

    2. Below code has to be inside the window.onload function as chart is inside window.onload scope.

    var chartType = document.getElementById("chartType");
            chartType.addEventListener( "change", function(){
            chart.options.data[0].type = chartType.options[chartType.selectedIndex].value;
            chart.render();
    });

    Please take a look at this JSFiddle for the complete code.

    Chart with dropdown to change chart type

    Considering this thread as a duplicate of using drop down how to change charts using user input value and hence closing the same.

    —-
    Manoj Mohan
    Team CanvasJS

    @gowri,

    There are couple of issue with the code that you have shared.

    1. You need to replace chartType with chart in chartType.options.data[0].type as chartType is referred to dropdown field not the chart object.
    chart.options.data[0].type = chartType.options[chartType.selectedIndex].value;

    2. Below code has to be inside the window.onload function as chart is inside window.onload scope.

    var chartType = document.getElementById("chartType");
            chartType.addEventListener( "change", function(){
            chart.options.data[0].type = chartType.options[chartType.selectedIndex].value;
            chart.render();
    });

    Please take a look at this JSFiddle for the complete code.

    Chart with dropdown to change chart type

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: using drop down how to change charts using user input value #26323

    @gowri,

    Please take a look at this JSFiddle to change chart type based on the value selected from the dropdown. Similarly, you can change chart options based on selected value from the dropdown.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Bug on chartContainer #26322

    @daicc,

    In JavaScript Month starts from 0 (January) and ends at 11(December). So in your case both Date(2019,01,29) and Date(2019,02,01) represents 1st of March hence chart displays two dataPoints on “02-01”. Please take a look at this JSFiddle for working example.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Need to upgrade? #26308

    @jkd_dude,

    We generally recommend everyone to use the latest version of CanvasJS.

    The upgrade process is pretty simple, you just have to replace CanvasJS files. All your existing code will continue to work and changes needed.

    You can check release notes at our blog.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Angular 8, IE 11 Prroblem #26307

    @jackscho,

    It seems to be working fine. In order to run an angular app in IE11, you need to modify Browserslist and TypeScript configuration files. In tsconfig.json, you need to set "target": "es5" and in .browserslistrc file, replace not IE 11 with IE 11 to make angular app compatible with IE11. Please refer this angular docs page for more information.

    If the issue still persists, please share a sample project over Google-Drive or OneDrive reproducing the issue you are facing, so that we can look into your code, understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: How to plot multiple line graphs on same Chart #26290

    Peter,

    Can you please share a sample project along with sample data over Google-Drive or OneDrive so that we can understand your scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Radar Chart #26272

    @9dan7,

    Sorry, we don’t have a definite timeline for Radar Chart as of now.

    —-
    Manoj Mohan
    Team CanvasJS

Viewing 15 posts - 676 through 690 (of 802 total)