charts

How do I create an x-axis with Swift Charts with 1 unit per day instead of 1 unit per data point?

耗尽温柔 提交于 2019-12-12 03:07:10
问题 I have a chart that takes time series data. The time series data is recorded at most once per day, but on an irregular schedule. I.e., the data could look like this: 1/1, 1500 1/13, 1600 1/14, 1700 2/22, 1800 5/1, 1400 Using Charts, my line graph populates the x-axis with one unit per data point (i.e., in the example above, there would be 5 units on the xaxis, instead of ~120 days) How do I create the x-axis with units for all dates in range? The code for my chart: func setChartData(data: (

Google Charts Timeline highlight many bars on mouseover

北城以北 提交于 2019-12-12 03:06:22
问题 I'm currently working on some data visualization. For the visualization I am using Google Charts Timeline embedded within Dashboard (which implements functionality of zooming on x-axis). Timeline is representing players position in ranking (first, second and third place). What I am trying to achieve is - when i hover mouse on player's entry I would like to highlight his/hers other entries in timeline. Using Google's example with President, VP and Secretary of State - when I hover over Thomas

Show only some series in HighCharts spline chart

北战南征 提交于 2019-12-12 02:58:49
问题 I have a highchart with chart type as spline In this chart, I have about 36 series data, but the problem is that showing 36 series in one single chart is really difficult to understand and moreover almost all have almost similar data. My question is that how can we show only selected or pre-defined series instead of showing all series at once, which is done by default by highcharts. Also, I do not want to change my API which is fetching the JSON data, is there any way to do it from front end

How do I use/retrieve the C3 scale function post generate?

。_饼干妹妹 提交于 2019-12-12 02:57:26
问题 I am using C3 to generate a chart and have found it necessary to dig into the underlying D3 constructs to supplement its functionality. I'm at an impasse and need to draw a region that is both limited by the x values and the y values but the "regions" functionality of C3 only allows one or the other. So, I need to draw on the C3-generated chart a rect at the appropriate location but using the scale functions to determine the X/Y values of the new rect. Is there any way to do this with C3 or

How to disable Chart axis autosize

放肆的年华 提交于 2019-12-12 02:55:25
问题 I need to stop autosizing (or autoscaling) of Y Axis in c# chart and set it manually. Any advice? Thanks 回答1: You can set the minimum and maximum of the Y axis like so: chart.ChartAreas[0].AxisY.Minimum = 0; chart.ChartAreas[0].AxisY.Maximum = 10; 来源: https://stackoverflow.com/questions/9412781/how-to-disable-chart-axis-autosize

How to draw a vertical line with dimple?

橙三吉。 提交于 2019-12-12 02:55:16
问题 Following the example in this link , I would like to draw a vertical line on my chart. The problem is, when I try to create a vertical line (on the same date), instead of obtaining the line, dimple adds my 2 values and draws a point, like in this example: fiddle var dim = {"width": 590,"height": 450}; //chart container width var data = [{"date": "01-02-2010", "cost": "11.415679194952766"}, {"date": "01-03-2010", "cost": "10.81875691467018"}, {"date": "01-04-2010", "cost": "12.710197879070897"

Adding a color bar to a chart

心已入冬 提交于 2019-12-12 02:51:26
问题 If I create an x-y-scatter plot in Excel and use Coloring each point of a chart based on data using sequential or divergent color scales to colour the points according to some data, how can I add a colour bar to the chart to show the colour scale? For example like MATLAB's colorbar. 回答1: Full example on GitHub: https://github.com/DanGolding/Scatter-plot-with-color-grading-in-Excel For this answer, I am assuming you used the last method in this answer to colour your data. In other words,

Add sum of columns to chart SSRS

假装没事ソ 提交于 2019-12-12 02:50:56
问题 I have searched all over and cannot seem to find a definitive answer for this issue! I have a simple chat here grouped on the 5 categories below detailing the Sums of their SqFt. I want to add a Total Column to the graph ~(Total = 11M sqft). Can this only be done in SQL? It is a bit puzzling for me to do this because the query already sums the sqft for each row (as a nested query). I would need to Sum(sum(sqft)) in order to produce what I want, however, I dont believe this will work on the

Gant chart/ view for C#, WPF [closed]

北城以北 提交于 2019-12-12 02:49:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I am looking for free gantt view or gant chart for WPF. I founnd nGantt or WPF Gantt from http://wpfgantt.codeplex.com/. But it does not work. Can any one tell me if exist any other free gantt view or gantt chart. Or can you tell me how to use wpf gantt or ngantt. For me wpf ganntt does not compile. 回答1: WPF

ssrs chart lines not connecting

放肆的年华 提交于 2019-12-12 02:47:10
问题 I have an SSRS Line chart which plots supply points with square feet on the X axis and Price on the Y axis. Right now I don't really care about making it pretty just getting the lines to show up correctly. I am plotting the points and grouping by Subdivision/Builder. So for example Subdivision A has builders Y and Z. I want to show different colors and lines for Subdivision A builder Y verses Subdivision A Builder Z. The problem is that the lines are not connecting when a point for another