Select to view content in your preferred language

iDataGraphT - How to programatically Show Border for a series.

806
1
04-08-2010 07:53 AM
ChrisNail
New Contributor
I have two questions concerning IDataGraphT.

When I use the ArcMap wizard to create a graph, there is an option for each series called "Show Border".  When I create a bar graph and check this option, it puts a black border around each bar in the series.

I'm using IDataGraphT to create a graph programatically.  I've looked through ISeriesProperties and IBarSeriesProperties, but I can't find a way to turn on this border.  I must be missing it.  I would appreciate it greatly if you could point me in the right direction.


My second question is, if I create two series and have two non-stacked bars on the graph, is it possible to:
A) Make sure the shortest bar is always in front.  If not...
B) Make one series of bars wider than another.  I've tried using IBarSeriesProperties.BarSize to make one series' bars wider than the other.  For some reason, if the bar in the back is shorter than the bar in the front, it doesn't draw wider (you can't see it peeking out from behind on both sides).


Thank you for your assistance!
0 Kudos
1 Reply
ChrisNail
New Contributor
I found a solution to the problem of making two overlapping bars actually display with different widths.

Unfortunately, I still haven't found a way to draw a border on bars in a series.  I played with iDatagraphTPenProperties to no avail.  Does anyone have a suggestion?
0 Kudos