This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I've found what seems to be a bug when plotting only a point on the chart in the format double (Y axis) x string (X axis) using LineAndMarker. If I use LineAndMarker, the chart doesn't show any point,symbol or marker on the chart, however, the plot seems to work fine if I change it to ColumnOnly. I've attached pictures of the expected behavior, how it appears with LineAndMarker and how it appears with ColumnOnly. Thanks |
|
|
Hello tulio The default behavior is to start the first tick mark and label at the very left of the chart. This also means the data point gets rendered at the very left of the chart. In the case where the range of the axis is 0, the chart symbol does not get displayed. Although I can not change the behavior of the tick mark position, you can set some options to cause the tick mark to appear in the middle. When you are only rendering one data point (or the range of the axis is zero), then you should set both the TickLayout and LabelLayout properties of the ChartAxis to Inside. When there is more than one point, set both these properties back their previous values. The BarSeries automatically uses this configuration all the time which is why it renders as expected. Let me know if there are problems with doing this. Jason Fauchelle |
|