You all did such a great job answering my question about padding on the sides of line graphs; I figured I would try another question relating to column graphs.
We sent our package of graphs off to a graphic design firm for suggestions on improving the look of our data. One of their suggestions included changing the appearance of the column to have a curved beveled edge. Are there any setting in DynamicPDF Generator version 6 do do this?
Along these lines, there are probably many cool settings which don’t show up in your basic examples in the documentation. Do you have a place where you showcase some of the very cool things that you can do with the various types of graphs?
Thanks for a great product, and great support.
Nick
Indexed Column Shapes
Re: Indexed Column Shapes
Support · Feb 21, 2011Hello Nick,
The following links contain some advanced examples on various topics.
http://www.DynamicPDF.com/Support/NET_Help_Library_10_03/Generator.Programming%20with%20Generator%20for%20.NET.html
Regarding creating beveled edges, if you are using a Table2/Cell2 page elements, there is no setting available that can create beveled edges. You can certainly create a rectangle with beveled edges using the LineSubPath
class. To get a basic idea on how this class works, here is an example
Document document = new Document();
// Create a Page and add it to the document
Page page = new Page();
document.Pages.Add(page);
LayoutGrid grid = new LayoutGrid(LayoutGrid.GridType.Decimal);
page.Elements.Add(grid);
// Create a path
ceTe.DynamicPDF.PageElements.Path path = new ceTe.DynamicPDF.PageElements.Path(50, 150, RgbColor.Blue, RgbColor.Yellow, 3,LineStyle.Solid, true);
// Add some sub paths to the path
path.SubPaths.Add(new LineSubPath(50, 400));
path.SubPaths.Add(new LineSubPath(300, 400));
path.SubPaths.Add(new LineSubPath(300, 150));
path.SubPaths.Add(new LineSubPath(150, 100));
// path.SubPaths.Add(new LineSubPath(300, 100));
// Add the path to the page
page.Elements.Add(path);
// Save the PDF
document.Draw(@"output.pdf");
Thanks,
ceTe Software Support Team.
Re: Indexed Column Shapes
Forum member · Feb 21, 2011Oops. Sorry, I wasn't clear. I was referring to columns within a column graph. By default, the colums in a graph are rectangular. Is there a way to specify a rounding of the tops of each column?
Thanks.
Nick
Re: Indexed Column Shapes
Support · Feb 21, 2011Hello Nick,
It is not possible to specify the rounding for the graph columns.
Thanks,
ceTe Software Support Team.
Re: Indexed Column Shapes
Forum member · Feb 21, 2011Thanks. I had a hunch that is was not currently possible. Perhaps that could be added in a future release? Another thought along those lines would be the ability to use a custom graphic. You see these all the times in financial magazines where they do cutsie things like use different length chocolate bars to represent cocoa sales, or repeating car outlines to represent auto sales.
Just a thought.
Thanks.
Nick
Re: Indexed Column Shapes
Support · Feb 21, 2011Hello Nick,
Thanks for the feedback, I will add these features to the feature request list.
Thanks,
ceTe Software Support Team.