Hi,
i have a stacked column bar and i need to center the columns in the grid...they are align left and i want to center in grid like the labels (the labels are align center).
And on more thing, it's possible to define the individual background of the items in the legend?
thanks for you help.
I'm not exactly sure what you're trying to align in the chart. Would it be possible for you to attach an image of your chart and indicate which part of the chart you are trying to center?
The item badges in the legend always reflect the color of your stacked series. If you want to change the badge colors, you should modify the brush of the stacked series.
If you're trying to change the background color of the legend item (badge and text), the default legend does not offer that functionality. However, you can create a custom legend, derived from IGLegend or IGLegendBase and implement buildItemViews method, where you can create, position and color the legend items.
-Max
hi,
thanks for your help.
this is what i need (thanks for your time):