I have googled many times with different keywords, but could not find an e-book for drawing different charts.
Ok my problem is I am drawing a column chart, I want the column chart to calculate the segment width based on the number of segments it has. Does anyone know how I could do this?
Thanks and Regards,
Mawy
Try to use the WPF toolkit, reference System.Windows.Controls.DataVisualization.Toolkit.dll . You can find some samples here, it should be pretty simple, create your collection of KeyValuePair containing your data and then bind to the Key and the Value properties. More about the column charts here. If you use this you won't need extra work for the width or height of the columns.
Related
i'm struggeling a little with my Autocad Plugin..
Since i have a huge amount of AutoCad Drawings to plot programmatically as a pdf-File i found out that some of them contain much unnecessary stuff on it.
i only want to plot a specific area which is defined in a layer. I have no problem of search for the layer and check for its properties but i can not find a single thing about coordinates or something like a height or a width..
So my question is simple: Is there a chance to get the height and width or something like that to print only the needed stuff inside the area of that layer?
Thanks
Alex
If you have a selection set of all the entities you want to plot, loop through and get each entities extents.
Compare each entity against a return value and grab the largest min and max points of everything in your selection set. This will give your the window area bounds you want to plot.
Can anybody help me to understand, which of component I can use for my task?
Before charts I need to draw a "tube", which can display "danger zones". These zones mapped to second chart red points. What kind of stimulsoft element i need to use?
Thanks.
You could try top add Strips to the chart.
I want to create a WPF a similar to the one in the image so that i can Bind the Image Source, The Movie Name & The Category (Ignore the left side)
Is this a ListView ? I tried many different combos but i couldn't make it as the one above.
Also, since it is related to that question, how i can have dynamically column number based on the Window size? For example in the image above the columns are 5, but i want it to be dynamically based on the Window Pixel/Size. Is this possible?
A lot of work to learn how to do it in a ListView. I'm not sure if the widths can be dynamic (based on each image width) but I've done it similarly to how Windows Explorer Icons views does it. So extra large, large, etc.
A good starting point for this is at https://msdn.microsoft.com/en-us/library/ms748859
But it's a tonne of work. Probably 2 or 3 months. They only give you bits and pieces and it's a variety of C# and VB.
You might want a more low-level ItemsControl.
Try the example from here: http://www.wpf-tutorial.com/list-controls/itemscontrol/
The one that might work for you is the WrapPanel as it will change the wrapping / layout based on the available container size and the item size.
Your Image and Text controls with bindings would go in the DataTemplate.
I am using MSchart Control to represent data graphically. Could you please assist me with the following problem: I put two series to the chart area but there is an evident gap between them. How can I remove it? Consider an example below. There are two series (orange and purple). I would be glad to remove everything between them so they are placed in a continuous manner. If it does matter, X-axis is actually time. Thanks in advance.
!
Series class has an IsXValueIndexed property. When you set it to true, the series data points will be plotted according to their order in the series rather than plotting them according to their time values. Be sure to sort the Series so that all data points are in proper order.
I'm having trouble with my Silverlight Chart. My model is unsorted, that is, the sorting is done on the server side. It needs to support year transitions, but as you can see from the screenshot the charting control automatically sorts the model and fills in the gaps. The line sort be ever increasing and not taking a dip on new year.
How can I make the chart display the data in the order specified in the grid control to the left?
Btw, using SL3
alt text http://img705.imageshack.us/img705/7602/unsortedsilverlightchar.png
The line chart is not designed to do the task you seem to be asking. After all the purpose of a line chart is to help the user trace a trend or even visually interpolate an interim value. However if the interval between horizontal points is not linear and always traveling in the same direction such lines meaningless.
I would therefore suggest that the Line chart is not appropriate or that you have some other hidden data which should be used for the Y-axis which would make the lines meaningful.
Alternatives might be to use a Scatter graph or a Column series where the y-axis value has been converted to a string and thus cause the series to use a Category based axis instead of range based one.