charts

Column chart with different widths of columns

陌路散爱 提交于 2019-12-13 05:04:57
问题 I'm trying to create a column chart that has columns with diffrent widths. Is it possible to create a chart like that with the chart control or should I look for a library that supports it? 回答1: Change the MarkerSize property on each DataPoint individually 回答2: You can use a Area type chart like this: Set it up Series s1 = chart1.Series.Add("S1"); s2.ChartType = SeriesChartType.Area; ChartArea ca = chart1.ChartAreas[0]; ca.AxisX.Minimum = 0; AddArea(chart1, s2, 12, 53, Color.SlateBlue);

Copy/Clone and Print Chart. Problems with ActualWidth & ActualHeight

杀马特。学长 韩版系。学妹 提交于 2019-12-13 04:47:18
问题 I am trying to print a chart generated during a report. I am able to put the chart on a DocumentPaginator document, but I am having trouble resizing the chart to fit the page. I noticed that if I changed the size of the reporting program which would change the Charts size would affect the scaling of the Chart. This realization showed me that the Chart's ActualWidth and ActualHeight were directly linked to the scaling. I tried: myChart.Width = newWidth; myChart.Height = newHeight; Measure

How to include RSI and Volume in the same chart?

喜欢而已 提交于 2019-12-13 04:43:17
问题 First of all i want to embed RSI plugin with the highstock chart, (i.e) RSI, Volume in the same chart. i tried it with using Highstock (Two panes, candlestick and volume ) http://www.highcharts.com/stock/demo/candlestick-and-volume and the RSI indicator plugin http://jsfiddle.net/BlackLabel/RE7sS/ Any ideas to get it done?? 回答1: To add RSI to any Highstock demo, you need to include required files. In RSI case files are: indicators.js (base) ema.js (required for RSI) rsi.js (RSI plugin) And

Chart control change axis color

寵の児 提交于 2019-12-13 04:42:09
问题 This is my Chart control Graph : I want to remove axis black lines from the left side and add blue line as a frame for all the graph like at the button. I have search for all the properties and try to change color but the default color still remained 回答1: if you want to customize a chart you could draw your own dynamically: Example in VB.net: Const GraphHeight As Integer = 100 Const GraphWidth As Integer = 200 Dim cIMG As New Bitmap(GraphWidth, GraphHeight) Dim G As Graphics = Graphics

How to implement multiple highlight line sliders in line chart

左心房为你撑大大i 提交于 2019-12-13 04:39:39
问题 I want to implement single and multiple highlight line sliders in line chart. I am able to get only single highlight line slider with MPAndroidChart (https://github.com/PhilJay/MPAndroidChart) library. But I also need two highlight line sliders to allow the user to select range of values(min and max values) on the chart. Please refer the below image for more information: Can we achieve the above requirement with any library or we need to draw a custom view? Any help or guidance will be well

Java bar chart method

大兔子大兔子 提交于 2019-12-13 04:37:45
问题 I need to print out a bar chart, via a call from a method barChartPrinter . I.e. barChartPrinter(5, 6, 2); would print: a vertical column of 5 XX's followed by a space then a vertical column of 6 XX's and a vertical column of 2 XX's. The numbers are based on user input, so I'm thinking I need to gather the numbers and store those in an array. And I'm thinking a for loop will be involved, but I'm not sure how I'd do it. public class BarChart { public static void main(String args[]) { int[]

WinrtXamlToolkit - Charting : ComException when use of INotifyPropertyChanged

核能气质少年 提交于 2019-12-13 04:29:08
问题 I'm currently using the line chart (from WinRT XAML Toolkit), and I'm facing a problem : everything goes right, but if my (In)DependentValue which is bound to my LineSeries contains a change notification (INotifyPropertyChanged), the toolkit raise a COMException. I used the last version (1.4.1) of the toolkit from Nuget. My XAML code : <toolkitchart:Chart x:Name="AltitudeChart" Height="200"> <toolkitchart:LineSeries IndependentValueBinding="{Binding Distance}" DependentValueBinding="{Binding

How to create a historgram from json

三世轮回 提交于 2019-12-13 04:23:23
问题 I need to create a nice looking histogram using a json response from my back-end service. I have looked into some freely available charting api, but none I found has option to create histogram. Before I embark on daring and laborious task of create a histogram from scratch using jquery/css, I want to check here if someone already know solution to my problem. BTW, I am familiar with Google's charting api and used it before. But, that too didn't have histogram option. My example of service

How to update/remove/insert new series/data in Shinobi Line Chart in android?

泪湿孤枕 提交于 2019-12-13 04:15:18
问题 I am updating the chart but it showing old series also. How to update/remove/insert new series/data in Shinobi Line Chart in android? I am using this code: CategoryAxis xAxis = new CategoryAxis(); xAxis.enableGesturePanning(true); xAxis.enableGestureZooming(true); xAxis.setRangePaddingHigh(0.3); xAxis.setRangePaddingLow(0.1); shinobiChart.setXAxis(xAxis); NumberAxis yAxis = new NumberAxis(); yAxis.setMajorTickFrequency(200.0); yAxis.enableGesturePanning(true); yAxis.enableGestureZooming(true)

SSRS BIDS clustered stacked bar chart

北城余情 提交于 2019-12-13 04:08:57
问题 Is there a way to create a chart in BIDS that combines the properties of these charts a horizontal stacked bar chart like this: http://www.google.com/imgres?start=230&hl=en&sa=X&biw=1920&bih=1061&addh=36&tbm=isch&prmd=imvns&tbnid=0EL4x7-sHuCIyM:&imgrefurl=http://www.phplot.com/phplotdocs/ex-horizstackedbar.html&docid=iqqzU8FDMbnIAM&imgurl=http://www.phplot.com/phplotdocs/examples/horizstackedbar.png&w=800&h=500&ei=U21kUJ_3JaTq0gH2yoDACw&zoom=1&iact=hc&vpx=1172&vpy=771&dur=3864&hovh=177&hovw