-
I guess you want a line chart with images at data points, like here: I used two images: koala and penguins, just to explain the concept. The solution uses markers to display images. It is based on the following features: 1. You can use custom markers that can contain virtualy anything, including images. 2. Once the chart data structure is created (i.e. all data points are populated), you can set marker to individual data points, depending on Y or anything else. Details 1. Add all images to the project...
-
In the 2011.1 release you can rotate annotations as follows: <ch:XYChart ...> <ch:XYChart.XAxisArea> <ch:AxisCoordinates Angle=" 90 "/> </ch:XYChart.XAxisArea> </ch:XYChart>
-
Chart makes certain assumptions of what to show when using its scrollbar zoom functionality, and hides points. Basically if two points are very close to each other i.e. closer than 2 pixels according to the shown scale, Chart will draw only one of them (or the average of the two, depending on the situation). That being said, this might very well be a bug with Chart, in which case you should submit a support request so that we can track and reproduce the issue. The only workaround I can think of would...
-
I've reproduced some of your problems: data point isn't shifted when the "Shift" property is changed. There was a problem in handling this change and it's being fixed. The fix will be available in the SP1. Menawhile, there is a workarround: when a data point is shifted out (i.e. Shift > 0) set the "Selected" property of that point to "true". When it's is shifted in, set "Selected=false". Do this after setting the "shift" value....
-
There is one problem with your code: the event handler "pieChart_DataStructureCreated" will never be called since it's defined after the chart DataSource has been set. When you set the data source, the chart data stricture including data points is created and - at the end of that process - the handler is invoked. Therefore, the handler has to be defined before the data source is set. I don't know what the handler is doing, but it seems like that doesn't cause the problem you...
-
Yes, there are properties that can help: try setting Chart.InnerMargins="0" and Chart.RelativeDoughnutOuterCircleRadius="1" (presently it is 0.90 meaning that doughnut/pie would use 90% of the space).
-
Hi Is it possible to have background color of the chart with liner Gradient. Regadrs Santhimurthy Dessingou
-
Hi I have been trying to create Stacked chart with three series, of that Two of series will haev negative values and when try to implement the same, Positive value series overlap the other series. Value used in the series DataPointValueCollection dpvc = new DataPointValueCollection(); ObservableCollection<DataPointValue> collection = new ObservableCollection<DataPointValue>(); collection.Add(new DataPointValue() { Hour = "12:00", Sales1 = 100, Sales3 = -70, Sales2 = -150 });...
-
Hi, Did you remember to call chartDetails.LoadCustomizations() before getting the property? It must be invoked or the chart will not return the values. Chart1.Series.Clear(); Chart1.Clientside.ClientsideApiEnabled = true ; Chart1.Clientside.SerializeDatapoints = true ; Chart1.Clientside.LoadingChartImagePath = " images/loading.gif "; Chart1.LoadCustomizations(); //Dynamically create the SQL query based on custom parameters passed in String period = Chart1.GetCustomProperty(" period...
-
Hi Tim, Just to clarify, if you check the dataset (for 0 rows) before attaching it, one thing you can do is clear the series on the chart, then display a message "no data" or equivalent which may be a more graceful approach. if(ds.Tables[0].Rows.Count > 0) { // normal customization goes here } else { // No rows, clear the chart WebChart targetChart = WebChart1; targetChart.Clear(); // Set up the title and turn on the legend const string sampleName = " No Data!! "; ChartTitle...