Hello,
I'm trying to build a chart and prepared a classes:
public class ReportIndicators
{
public Item item1 { get; set; }
public Item item2 { get; set; }
}
public class Item
{
public int value1 { get; set; }
public int value2 { get; set; }
public string itemType { get; set; }
}
In the report I return the data:
return new ReportIndicators
{
item1 = new Item
{
value1 = 10,
value2 = 15,
itemType = "type1"
},
item2 = new Item
{
value1 = 20,
value2 = 15,
itemType = "type2"
}
};
The chart looks good (chart.jpg), but the groups of columns are not centered above each label, why is this? If I'll add more items, the columns will be narrower. How I can fix that? I tried to change Scale.SpacingSlotCount property, but it did not help me.
When I built the chart, I used the item 'Add Graph Series' in the context menu on the graph and set the values as on the screen 1.jpg, 2.jpg. Is it correct?