chart

JFreechart SeriesException

匿名 (未验证) 提交于 2019-12-03 02:16:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to plot a bar chart using timeseries by introducing the beginning and the end date , but i got a problem with the end date it indicate : Exception in thread "main" org.jfree.data.general.SeriesException : You are attempting to add an observation for the time period 4-mai-2011 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method. final TimeSeries series2 = new TimeSeries("ip max", Day.class); String datebegin = "04/29/2011 02:00:01"; String dateend =

Highcharts: Make the legend symbol a square or rectangle

匿名 (未验证) 提交于 2019-12-03 02:15:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to Make the legend symbol a square or rectangle for a line graph. Example The line is fine. I dont want change the line width. HTML: <script src="http://code.highcharts.com/highcharts.js"></script> <div id="container" style="height: 400px"></div> Javascript: $(function () { var chart = new Highcharts.Chart({ chart: { renderTo: 'container', type: 'line', }, xAxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] }, plotOptions: { series: { marker: { enabled: false } } }, legend: {

How to save an image of the chart on the server with highcharts?

匿名 (未验证) 提交于 2019-12-03 02:08:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: With highcharts, you have a built-in button to download the current chart (example: http://www.highcharts.com/demo/ , this button: ). You can save it as PNG, JPEG, PDF or SVG. What I'd like to do is to create a link that saves the image on the server, instead of downloading it . How could I do that ? I suppose that I have to modify the exportChart function in the exporting.src.js file. It looks like this (but I don't know javascript enough to do that) : exportChart: function (options, chartOptions) { var form, chart = this, svg = chart

Convert bar chart to a grouped bar chart with danielgindi/ios-charts and Swift

匿名 (未验证) 提交于 2019-12-03 02:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i have created the simple bar chart with the library at https://github.com/danielgindi/ios-charts still can't figure out how to make this a grouped bar chart. I've added the units sold array to the chart, but don't know how to get the unitBought array to the chart to make it a grouped chart.please help. @IBOutlet weak var barChartView: BarChartView! override func viewDidLoad() { super.viewDidLoad() months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] let unitsSold = [20.0, 4.0, 6.0, 3.0, 12.0, 16.0, 4

JFreeChart scaling of Boxplots with several Categories

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i am currently working on a java-based project using JFreeChart to display boxplots. My Problem is how to display a chart containing boxplots for a CategoryDataset with about 20 Categories and 5+ Series. Currently if the preferred size of the ChartPanel is not set, the Legend, Labels and Annotations are readable but the Boxplots are too small. Or the size of the ChartPanel is set so that the Boxplots have an acceptable size but then the legend, labels and annotations are horizontally stretched. My question is, how to correctly scale the

jQuery UI Tabs and Highcharts display/rendering issue

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Anyone ever used the tabs ( jquery-ui-1.8.9 ) and pie charts from Highcharts 2.1.4 together? To put it simply, I have multiple tabs, where each tab shows a pie chart with different data. The charts DO render to the divs, but when I click on the 2nd tab, the chart somehow shows up 300px to the right of where it's suppose to be. Whenever I zoom in or out of the browser window, the chart goes back to the correction position. My code: //Suppose the number tabs are generated based on variable $count, and there are 2 tabs 回答12: add class="chart"

Redrawing histograms with Crossfilter and D3

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm adapting the Crossfilter library to visualize some tweets i've been gathering from the Olympics . I'm attempting to essentially extend the initial example in two ways: Instead of displaying lists of flights based on the original dataset, I want to display lists of items in another dataset keyed by items currently selected by crossfilter. Switch between different data sources and reload the histograms and tables. I've got part (1) working as planned. However, part (2) is giving me some trouble. I'm currently changing the dataset by either

Is there a chart of which OSS License is compatible with which? [closed]

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a fairly good understanding of individual OSS licenses, but I always have trouble when I want to use code under different licenses. BSD vs. Ms-PL, Apache 2 vs. GPLv3 etc. Is there some sort of "mating chart" that lists which licenses are compatible with which ones? 回答1: The Free Software Foundation maintains a list of licenses , categorized as GPL compatible, GPL incompatible, and non-free. This can help answer the most common question, which is whether a license is GPL compatible. Since there aren't many other free software licenses

How to remove spacing between bars in column chart SSRS 2012

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How can I remove spacing between bars in SSRS 2012 report. 回答1: In design mode, select one of the columns in the chart. In the Properties pane, look for CustomAttributes; expand that group. Look for PointWidth within that property group. Change that value from 0.8 (the default) to 0.9 for the columns to be a little closer together. Change the value to 1 if you want your columns to touch. Adjust as desired. They keep this one hidden, a bit. Hope this helps. 回答2: You need to set the PointWidth property of the chart series to 1 if you want no

error xlPrimary not defined in Python win32com

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I keep getting errors where xlCategory , xlValue and xlPrimary are not recognised in my python script. I am trying to label the axes of my graph and was successfully doing so yesterday with this code: chart = excel.Charts.Add() chart.Name = "Chart Title" chart.ChartType = -4169 #xlXYScatter chart.SetSourceData(firstSheet.Range("$A:$B")) series = chart.SeriesCollection(1) series.Name = "Series Name" chart.Axes(win32com.client.constants.xlCategory).HasTitle = True chart.Axes(win32com.client.constants.xlCategory).AxisTitle.Caption = "x Axis"