charts

Charting in web-based applications

一个人想着一个人 提交于 2019-12-23 17:16:30
问题 What are the various charting tools that are available for displaying charts on a web page using ASP.NET? I know about commercial tools such as Dundas and Infragistics. I could have "googled" this but I want to know the various tools that SO participants have used? Any free charting tools that are available are also welcome to be mentioned. 回答1: If you do not mind using Flash to display your graphs, Open Flash Charts supports a lot of languages. This was also the choice used for the

Setting Width on a Column Series: Using dotNetCharting

痞子三分冷 提交于 2019-12-23 17:15:09
问题 I need to set a static width of a bar chart series using dotNetCharting. My Graph has three series collections of line, spline, and column type. I would just like to set a static width for all series of column type. I've tried using: myChart.DefaultAxis.StaticColumnWidth = 10; But the .DefaultAxis property isn't valid in intellisense for the whole chart nor the Column series collection. Do the series have to be added with data first before setting this? Also, I've tried adding properties in

java.lang.NullPointerException at org.primefaces.component.chart.renderer.MeterGaugeRenderer.encodeData

痴心易碎 提交于 2019-12-23 17:07:23
问题 I am trying to manage to work the following example MeterGauge Since the xhtml code is not complete that you can use it to make an entire xhtml page, I have taken the missing tags from PrimeFaces official doc at page 12. Then created the JavaBean file ChartView.java (taking the code from MeterGauge sample page) and tried running it on a GlassFish server, but it failed, as you can see from logs metergauge2.xhtml <!DOCTYPE html> <html xmlns="http://www.w3c.org/1999/xhtml" xmlns:h="http://java

Delete all existing excel chart series

别说谁变了你拦得住时间么 提交于 2019-12-23 16:17:06
问题 I am modifying a line chart in excel and I want to remove all the series and add new series to the same chart. I am using the foll code: Excel.SeriesCollection serColl = chartpage.SeriesCollection(); Excel.Series ser = serColl.Item(4); ser.Delete(); ser = serColl.Item(3); ser.Delete(); ser = serColl.Item(2); ser.Delete(); ser = serColl.Item(1); ser.Delete(); But I wanted the code to be generic i.e. find the number of series and delete all in a loop. Thanks in advance. 回答1: Like so. Excel

ASP.NET StackedColumn chart - Axis Trouble

…衆ロ難τιáo~ 提交于 2019-12-23 16:05:56
问题 I am building an Asp.net Stacked Column chart. Here is how it looks : Here is how it should look : Ignore the numbers on the chart but look at the X axis - Why does it give me 1148,1153, 1163 when they do not appear in the data. Here is my Data : Here is the code: Dim chart As New Chart chart.ID = "Chart1" Dim chartareas As New ChartArea chart.ChartAreas.Add(chartareas) chart.DataBindCrossTable(DtFinalRecords.DefaultView, "OutcomeScore", "TermID", "RecordsPerGroup", "Label=RecordsPerGroup")

NVD3 - configuring ticks on axis

痴心易碎 提交于 2019-12-23 15:43:20
问题 I have a nvd3 line chart which displays a time series and can't get the ticks on the x axis right. For longer time spans, it works as expected. But for shorter time spans (here: 12/31/05 to 01/01/06), the same date is displayed for multiple ticks: Please have a look at the code for this chart on JSFiddle I want the chart to only display ticks at data points, and not in between. Is that possible with a line chart? From my understanding, it is possible with d3, but I can't figure out if this

Date-time axis working as string, not as proper continuous date/time axis in Zing Chart

一世执手 提交于 2019-12-23 14:56:43
问题 I am plotting date-time vs integer in ZingChart. Even if there is difference of one second or the difference of 1 hour, the width is same between the two points. If the starting time is same as the previous one, like in my attached image at 23:24:40, there should not a white gap in between if it is proper date and time axis. Is there any solution to this problem? You can also view it on alnnovative.com/zing6.php 回答1: ZingChart will automatically place values at each index, unless you use key,

Date-time axis working as string, not as proper continuous date/time axis in Zing Chart

柔情痞子 提交于 2019-12-23 14:56:24
问题 I am plotting date-time vs integer in ZingChart. Even if there is difference of one second or the difference of 1 hour, the width is same between the two points. If the starting time is same as the previous one, like in my attached image at 23:24:40, there should not a white gap in between if it is proper date and time axis. Is there any solution to this problem? You can also view it on alnnovative.com/zing6.php 回答1: ZingChart will automatically place values at each index, unless you use key,

How Create Charts with the Google Chart API in asp.net?

你离开我真会死。 提交于 2019-12-23 13:57:10
问题 How to Creat Charts with the Google Chart API in asp.net? 回答1: Google is a good place to start... Google Charts API as ASP.NET 2.0 Server Control Google Chart Net Or better yet use the new ASP.NET charting control ASP.NET Charting Control 回答2: Please refer the article on 4guysfromrolla Creating charts with Google chart API with ASP.NET ASP.NET Custom Server Control for Google chart 回答3: FYI there are plenty of Google Chart API wrapper APIs that will make your life easier in terms of dealing

Chart.js not height responsive

孤街醉人 提交于 2019-12-23 12:53:54
问题 I have issues to get the chart.js line chart to be responsive on the height aswell as the width. See example what it should be working like: http://www.chartjs.org/samples/latest/charts/line/basic.html Here is my code: var randomScalingFactor = function(){ return Math.round(Math.random()*100)}; var lineChartData = { labels : ['January','February','March','April','May','June','July'], datasets : [ { label: 'My First dataset', labelColor : '#fff', fontColor : '#fff' , backgroundColor : 'rgba