Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

RadCartesianChart change axis lose data

$
0
0

Hello, Martin,

Thanks for the guidance.  Changed logic so that axes are "new" each time they change -- and the behavior did change. 

Now the Linear axes always work (even when switch back and forth), but the Logarithmic axes NEVER work (even when they are the first-used axes).  Please see attached screen snapshot for the logarithmic result -- horizontal (date) axis is OK, but vertical axis labels and ticks are missing -- as are the data series.

Is there something wrong with my axis definition, which is:

case "LOGARITHMIC":
     GasAxis = new Telerik.Windows.Controls.ChartView.LogarithmicAxis() { ElementBrush = Brushes.Red, Minimum = 0, LineThickness = 1, HorizontalLocation = Telerik.Charting.AxisHorizontalLocation.Right,
LogarithmBase=10, Maximum=10000 };

     OilAxis = new Telerik.Windows.Controls.ChartView.LogarithmicAxis() { ElementBrush = Brushes.DarkGreen, Minimum = 0, LineThickness = 1, HorizontalLocation = Telerik.Charting.AxisHorizontalLocation.Left,
LogarithmBase=10, Maximum=10000 };

     WaterAxis = new Telerik.Windows.Controls.ChartView.LogarithmicAxis() { ElementBrush = Brushes.Blue, Minimum = 0, LineThickness = 1, HorizontalLocation = Telerik.Charting.AxisHorizontalLocation.Left,
LogarithmBase=10, Maximum=10000 };
                           

Thanks again for the help,

Bob

 

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>