Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
Monotouch - Center Bar Columns in grid
posted

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.

Parents
  • 26458
    Verified Answer
    Offline posted

    Hi,

    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

Reply Children