Hello,
This one is regarding MarkerStep Property of FXChart. I made a line graph and couldn't see any impact by using different values of MarkerStep Property. Is it data related? Below is my code and can you please suggest any changes I need to make so that I can see the difference by using MarkerStep Property ?
private void BindData()
{
CarProduction[] production = new CarProduction[] {
new CarProduction{ Month = "Jan", Sedan = 1760, Coupe = 535, SUV = 695 } ,
new CarProduction{ Month = "Feb", Sedan = 1849, Coupe = 395, SUV = 688 } ,
new CarProduction{ Month = "Mar", Sedan = 2831, Coupe = 685, SUV = 1047 } ,
new CarProduction{ Month = "Apr", Sedan = 2851, Coupe = 984, SUV = 1652 } ,
new CarProduction{ Month = "May", Sedan = 2961, Coupe = 1579, SUV = 1889 } ,
new CarProduction{ Month = "Jun", Sedan = 1519, Coupe = 1539, SUV = 1766 } ,
new CarProduction{ Month = "Jul", Sedan = 2633, Coupe = 1489, SUV = 1361 } ,
new CarProduction{ Month = "Aug", Sedan = 1140, Coupe = 650, SUV = 874 } ,
new CarProduction{ Month = "Sep", Sedan = 1626, Coupe = 653, SUV = 693 } ,
new CarProduction{ Month = "Oct", Sedan = 1478, Coupe = 2236, SUV = 786 } ,
new CarProduction{ Month = "Nov", Sedan = 1306, Coupe = 1937, SUV = 599 } ,
new CarProduction{ Month = "Dec", Sedan = 1607, Coupe = 2138, SUV = 678 }
};
chart1.DataSourceSettings.DataSource = production;
chart1.Gallery = Gallery.Lines;
chart1.AllSeries.MarkerStep = 3;
}
public class CarProduction
{
public string Month { get; set; }
public int Sedan { get; set; }
public int Coupe { get; set; }
public int SUV { get; set; }
}