soumya

Moderators
  • Content count

    43
  • Joined

  • Last visited

About soumya

  • Rank
    Advanced Member

Recent Profile Visitors

1,552 profile views
  1. FusionCharts library .NET

    Hi, Yes, you need to provide multiple measures for each category label. For reference check the below code snippet and implement accordingly. using System; using System.Web.Mvc; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using FusionCharts.Visualization; using FusionCharts.DataEngine; using System.Data; namespace FusionChartsSamples { public class HomeController : Controller { public ActionResult Index() { DataTable ChartData = new DataTable(); ChartData.Columns.Add("Programming Language", typeof(System.String)); ChartData.Columns.Add("Users", typeof(System.Double)); ChartData.Rows.Add("Java",62000); ChartData.Rows.Add("Python",46000); ChartData.Rows.Add("Javascript",38000); ChartData.Rows.Add("C++",31000); ChartData.Rows.Add("C#",27000); ChartData.Rows.Add("PHP",14000); ChartData.Rows.Add("Perl",14000); // Create static source with this data table StaticSource source = new StaticSource(ChartData); // Create instance of DataModel class DataModel model = new DataModel(); // Add DataSource to the DataModel model.DataSources.Add(source); // Instantiate Column Chart Charts.ColumnChart column = new Charts.ColumnChart("first_chart"); // Set Chart's width and height column.Width.Pixel(700); column.Height.Pixel(400); // Set DataModel instance as the data source of the chart column.Data.Source = model; // Set Chart Title column.Caption.Text = "Most popular programming language"; // Sset chart sub title column.SubCaption.Text = "2017-2018"; // hide chart Legend column.Legend.Show = false; // set XAxis Text column.XAxis.Text = "Programming Language"; // Set YAxis title column.YAxis.Text = "User"; column.ThemeName = FusionChartsTheme.ThemeName.FUSION; ViewData["Chart"] = column.Render(); return View(); } } } For reference check the following sample https://dotnetfiddle.net/nVVeWE
  2. Hi, The gradient legend is showcasing a pane which is derived from the "colorRange" definitions where the color objects need to define for numeric range blends with the next color allowing to form a gradient strip. According to your use case you need to set color object from lower to higher value i.e from white to red. For reference please check http://jsfiddle.net/Soumya_dutta/ema79zrf/2/ where the generic definition is provided within "colorRange" object and each color object defining the specific numeric range corresponding to a particular color. Hope this would help.
  3. update line chart data every 2 seconds

    Hi Harry, According to your scenario, you want to fetch data from the database periodically and want to append within the chart data source. Hence we would like to suggest you please create a controller Action method for fetching records from the database and via AJAX you can have the result from view. Please check the following regarding how to perform AJAX call over a time interval https://forums.asp.net/t/2090502.aspx?Calling+MVC+Action+from+JavaCripts+using+setInterval Also please visit https://www.codeproject.com/Questions/1249571/How-to-call-a-MVC-controller-method-using-a-timer Regarding partial vie update we would like to request you please implement Partial view rendering in ASP.NET MVC for reference please check https://www.red-gate.com/simple-talk/dotnet/asp-net/revisiting-partial-view-rendering-in-asp-net-mvc/ Moreover, we went through the attached code snippet of the Razor view and observed the ASP.NET wrapper is not implemented. Please note FusionCharts support ASP.NET wrapper for rendering supported charts in ASP.NET environment for reference you could check the following tutorial link https://www.fusioncharts.com/blog/rendering-fusioncharts-in-asp-net-mvc-framework-using-razor-view/ Also, like to let you know you could call API methods using the FusionCharts wrapper for reference please check https://www.fusioncharts.com/dev/getting-started/aspnet/slice-data-plot-using-custom-api-in-aspnet Please check the above mentioned suggestions and implement accordingly. Thanks
  4. Hi, Please check the sample from the below given Dropbox link https://www.dropbox.com/s/5w2483xh5zqfuf5/Demo UpdatePanel refresh.zip?dl=0
  5. Hi, Please check the sample from below given Dropbox link https://www.dropbox.com/s/5w2483xh5zqfuf5/Demo UpdatePanel refresh.zip?dl=0
  6. FusionExport is not working in angular 5/6

    Hi, Already we communicated over support ticket. If you have any further issue please let us know in the same mail chain.
  7. Hay. I would like to suggest you to implement jQuery modal popup for showcasing the child chart after clicking on the parent chart data plot. For reference please check the following sample http://jsfiddle.net/Soumya_dutta/xvbfm7ds/9/ Now you might ask me why I am suggesting to implement jQuery modal pop up for your scenario hence check out the following points. 1. It is easier to implement jQuery modal pop up. 2. If you want to implement query string to pass child chart information on the fly it is merely possible because FusionCharts take the entire JSON/XML structure for parents as well as child chart data source altogether only thing is possible you could specify a different JSON file for each child chart. 3. The entire code if you implement jQuery modal popup it would stay in client side no serverside interaction like query string is not necessary hence more secure and fast. Please check the sample and implement the same in ASP.NET environment.
  8. Updatepanel On Postback

    Hi, Thanks for getting in touch. Please check the sample from the below given Dropbox link and implement accordingly. https://www.dropbox.com/s/5w2483xh5zqfuf5/Demo UpdatePanel refresh.zip?dl=0 Thanks
  9. SQL WITH JSON

    Hi, Thanks for getting in touch. You need to write data access methodology for accessing data from the underline database and after fetching data you need to convert it in prescribed JSON or XML format for rendering the supported chart. For further reference please check our tutorial link showcasing how data from SQL database could be fetched and render FusionCharts supported chart https://www.fusioncharts.com/blog/creating-fusioncharts-drill-down-charts-from-database-using-entity-framework-and-linq-in-visual-studio/ Hope this would help.
  10. Hi, Thanks for getting in touch. Please check our tutorial link https://www.fusioncharts.com/blog/rendering-fusioncharts-vb-net-using-database/ showcasing how to incorporate FusionCharts in VB.NET environment. Also please check the sample there in the tutorial link for further reference.
  11. KPI charts

    Hi Adesh, We have responded to your query over our support channel, please check the raised ticket reply and let us know. Moreover, according to the attached image here, we would like to suggest you could implement FusionCharts supported Spark Line chart. For further reference regarding FusionCharts supported SparkLine chart please visit https://www.fusioncharts.com/dev/chart-guide/standard-charts/spark-charts Also, you could check the live samples showcasing FusionCharts supported SparkLine chart please visit https://www.fusioncharts.com/javascript-chart-fiddles/?type=spark-line-chart Thanks
  12. Hi Yes, All supported charts except ZoomLine chart support drill-down functionality. Please note when implementing the linked chart functionality the child chart data is included in parent chart and the child chart data structure should confirm the parent chart data structure. For further reference please check the following documentation link for the drill-down functionality of FusionCharts https://www.fusioncharts.com/dev/chart-guide/chart-configurations/drill-down#chart-links-linked-charts-8 Please check the documentation and implement accordingly. Hope this would help
  13. Cannot read property 'el' of undefined

    Hi, Would like to request you please check your implementation and include all library files for different genre of charts.
  14. Hi, Please download and check the sample project showcasing FusionCharts supported Real-time chart using data stream url in ASP.NET environment from below given Dropbox link. https://www.dropbox.com/s/kvcyqhgvrtswtts/Real_Time Chart demo.zip?dl=0 Please implement accordingly. Hope this would help.
  15. Hi, Thanks for getting in touch. After investigating your code snippet we came to the conclusion that you are implementing FusionCharts flash based version which has been deprecated. Please implement the latest full JavaScript version of FusionCharts and check. You could download the latest evaluation version of FusionCharts from https://www.fusioncharts.com/download/.