charts

Rendering a single point in a JFreeChart based on the current Value of a Slider

a 夏天 提交于 2020-01-16 18:50:53
问题 I'm not yet as much into Java as I'd like to be, so I find my current task to be quite a bit challenging: A chart showing data gathered in another class. A slider whose end value is determined by the last entry of in the dataset used in the chart. The playbutton currently doesn't do anything except letting the slider tick in steps of 5 until it is paused again. My problem right now is: I am supposed to highlight one item at a time in the chart based on which value the slider currently shows.

How to group X-axis points in react C3js?

断了今生、忘了曾经 提交于 2020-01-16 18:24:31
问题 I started working on react-c3js and got stuck into some problem. Below is my X-axis array: "axis": {"x": ["4 2018", "4 2018", "5 2018", "5 2018", "6 2018", "6 2018", "6 2018", "6 2018", "6 2018", "6 2018", "6 2018", "6 2018", "6 2018", "7 2018", "7 2018", "7 2018", "7 2018", "7 2018", "7 2018", "7 2018", "7 2018", "7 2018", "7 2018", "7 2018", "7 2018", "7 2018", "8 2018", "8 2018", "8 2018", "8 2018", "8 2018", "8 2018", "8 2018", "8 2018", "8 2018", "8 2018", "8 2018", "8 2018", "8 2018",

what is the overlay line on each bar in a bar chart?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-16 06:42:26
问题 I'm trying to learn myself with data visualization and when I'm going through the bar chart I'm stuck with the following thing. In the graph there is a vertical black line on each bar in the bar char. What exactly signifies that overlay-ed black line. Thanks for your help 回答1: This looks like vertical error bars. Error bars are a graphical representation of the variability of data and are used on graphs to indicate the error, or uncertainty in a reported measurement. 来源: https://stackoverflow

Creating a multiple y-axis combo chart

心已入冬 提交于 2020-01-16 03:57:07
问题 I'm looking at further improving a combo chart I created here by making it first a dual y axis combo chart then a multiple axis combo chart. As seen here I've figured out how to create a basic combo chart using the tutorial. google.load("visualization", "1", { packages: [ "corechart", "bar" ] }); google.setOnLoadCallback(drawVisualization); function drawVisualization() { // Some raw data (not necessarily accurate) var data = google.visualization.arrayToDataTable([ [ 'Month', 'Col1', 'Col2',

How to color legend in angular-chart.js

ぐ巨炮叔叔 提交于 2020-01-15 11:22:48
问题 the very last example in this section of angular-chart.js documentation shows a pie/polar chart example with a colored legend. Obviously, this should be my answer, but: I used this code for my frontend (which is pretty much the same as in the doc): <canvas id="base" class="chart-pie" chart-type="type" chart-data="data" chart-labels="labels" chart-legend="true"> </canvas> I did also use the same data and labels. But unfortunately the legend of the rendered plot consists out of list-bullet

How to color legend in angular-chart.js

送分小仙女□ 提交于 2020-01-15 11:22:04
问题 the very last example in this section of angular-chart.js documentation shows a pie/polar chart example with a colored legend. Obviously, this should be my answer, but: I used this code for my frontend (which is pretty much the same as in the doc): <canvas id="base" class="chart-pie" chart-type="type" chart-data="data" chart-labels="labels" chart-legend="true"> </canvas> I did also use the same data and labels. But unfortunately the legend of the rendered plot consists out of list-bullet

ASP.NET Pie chart only displaying YValueMembers

无人久伴 提交于 2020-01-15 10:13:17
问题 I am trying to create a chart to display the percentage of checked and unchecked answer booklets.But the pie chart is only showing the unchecked value which is the YValueMember. How to resolve this? protected void DropDown_Subjects_SelectedIndexChanged(object sender, EventArgs e) { Chart4.Visible = true; SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["Con"].ConnectionString); SqlCommand cmd = new SqlCommand("select checked_percent, unchecked_percent From

Google charts aren't working in IE11, (but works in chrome) how to fix it?

狂风中的少年 提交于 2020-01-15 09:19:29
问题 I have two pages, one index.html page that shows all charts and one page that shows a chart and table. Surprisingly, all charts from index.html can be seen in IE11 but when I open a page with a chart and table it won't. What should I change in the code, thus the IE could recognize charts? Here is the code I was using provided by google and made some adjustments. <html> <head> <link href="stylesheet.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="loader.js"></script>

Set an excel chart filter with VBA

女生的网名这么多〃 提交于 2020-01-15 09:19:10
问题 I have a sheet with lots of standard Excel charts (Not Pivot charts!). I add data every week and want the charts to show data for the last 4 weeks. Because I have a lot of charts I want to automatically select the filtered weeks with a macro. Dynamic ranges are not feasible, as there are too many charts with 5 data series each. When I record a macro and activate the filter for a certain week, I get the following code: ActiveChart.ChartGroups(1).FullCategoryCollection(76).IsFiltered = True The

MPAndroid Line Chart single data point with curve

百般思念 提交于 2020-01-15 09:06:46
问题 I want linechart as follows. I want to show only specified point (blue circled should be there) (red circled should not be there). 回答1: I think of 2 methods. First: disable all points and values with lineDataSet.setDrawValues(dataSet.drawValues); lineDataSet.setDrawCircles(dataSet.drawValues); Then add another LineDataSet to the LineChart only containing that one point for the Maximum. This solution causes an additional entry in the Legend. The other solution would be a custom MarkerView like