Search code examples
axisteechart

Multiple (top) custom axes


I'm discovering TeeChart for .Net winform; very good product.

I want to compare two or more sets of values for different periods. For example the temperatures of February and those of April. Thus I use my left axis for the temperature and want a x-axis for each month, z-stacking the charts. It actually works pretty "straightforwardly" except that the custom horizontal axis (for the dates) are drawn over each others. I would obviously like them to stack vertically.

I saw in some screenshots related to other problems on forums that it is possible. I am wondering if there is an already implemented parameter for this or do I need to override an axis event and do it myself?

PS: here is an illustration of what I currently have:

enter image description here


Solution

  • I'm not 100% about what you need to achieve here but probably you need to customize the position for each axis. You'll find some basic information about this in Tutorial 4. The All features\Welcome !\Axes section in the features demo may also be of help. Tutorials and features demo are available at TeeChart's program group. For a more complex and advanced example you can look at this forums thread.

    If this doesn't help don't hesitate to let me know.