TeeChart style determination
Posted: Tue Feb 12, 2013 4:11 pm
i have 2 charts on a panel. one is a regular cartesian chart (typical X/Y axes), the other is a polar chart. i'm writing a common function to reset the charts by using the double-click event handler. one of the parameters on the event handler is sender. if i cast this like this ... Steema.TeeChart.TChart tTempChart = sender as Steema.TeeChart.TChart, i do get the "pointer" to the correct chart.
at the moment, i can check the max x value to see if it's 360 ... Math.Round(tTempChart[0].MaxXValue()==360 ... but i'd like to be able to check a parameter to see if the chart style is Polar or Cartesian. how can i do this?
thanks,
pete.
at the moment, i can check the max x value to see if it's 360 ... Math.Round(tTempChart[0].MaxXValue()==360 ... but i'd like to be able to check a parameter to see if the chart style is Polar or Cartesian. how can i do this?
thanks,
pete.