I am trying to create an Excel line-column combination chart using C#.
I know how to create a line chart or a column chart but I don't know how to create a combined chart.
Could anyone please point me a direction or provide a short sample code on how to create such chart?
Thanks in advance.
Related
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 am trying to create a kind of Gantt Chart in Winfoms (I can consider to do in Wpf) which should display data as the following image:
Until now I had been try to do it using gridView, which is close to the wanted result but I have not been able to get the vertical line:
There is any way to have this vertical line over the gridView or even a better way to achieve this desired result (picture 1)?
Have you seen these open-source solutions:
[1] &
[2]
I think it's better not to reinvent the wheel!
More solutions could be as the following:
MS Project Gantt chart control usage in C#
Gantt Chart
I think this one is not open source
Can any one help me out..
I wanted to have a Line Chart .. The Data to be loaded from sqlserver to that Line Chart..
One can drag the Line chart values and adjust them..
I am trying this using ChartDirectory tool.
Link
Once after adjustment of line chart, the Values to be updated to the same table..
Hopefully this makes sense, if not let me know.
Is there any tools available for this ??
Like This I want
you should try this free online tool - www.cloudyexcel.com/excel-to-graph/
How can we add a striped line to an Excel chart using C#?
I am able to create the chart using c# but I didn't get any clue how to add a striped line.
Please make some suggestions.
Thanks
Try this:
- add a data series with a steady value ( of 50 in your case )
- move the new data series to the secondary Y axis
- synchronize the maximum for both Y axes
- set Chart Type for the new data series to Line
- set the Line Style for the new data series to a dash type
I know this is not C#, but it is C# as much as you question is :)
When I have things like this, what I'm usually doing is I "manually" do all I have to do in Excel recording a macro with all the stuff. Then I just analyze the macro. You will find a lot of useful information there.
Good luck!
I'm trying to finish little application which is creating MS Excel spreadsheet filled with some data taken from a database. I got stucked with few things. One of these is how to rotate a text in a spreadsheet cell. I was trying to do it in that way:
SpreadsheetStyle style = SpreadsheetReader.GetDefaultStyle(spreadSheet);
style.AddAlignment(new Alignment() {
TextRotation = 90
});
but of course it didn't work. I'm using WorksheetWriter class to build excel doc.
I couldn't find anything helpful in Google so I hope to find some help here :)