Custom Chart Display
Posted: Wed Nov 04, 2009 4:35 pm
Please see attached chart. Form of interest is the second form, called "LifeTemp".
With Yeray's help I developed a custom logarithmic display that works on equal ratios rather than equal linear increments. You can see the code in the AfterDraw event. Not sure if this is the best approach. If you see a better method please let me know. I'm not completely satisfied yet. There may need to be additional tics in the left axis. Maybe they will end up being 10, 15, 20, 35, 50, 70, 100, etc.
I realize that the 50 tic is off the chart. It is a bug that I will find and fix.
There are three remaining issues:
1. Please demonstrate the way to draw grid lines that match the TeeChart default grid format, rather than the long dashes of the line property.
2. Could you show me how to move the left axis title away from the custom axis labels, or if necessary, to clear and redraw the title.
3. Please give me a pointer if there is a way to format the axis title and other text to include subscripts and exponents.
With Yeray's help I developed a custom logarithmic display that works on equal ratios rather than equal linear increments. You can see the code in the AfterDraw event. Not sure if this is the best approach. If you see a better method please let me know. I'm not completely satisfied yet. There may need to be additional tics in the left axis. Maybe they will end up being 10, 15, 20, 35, 50, 70, 100, etc.
I realize that the 50 tic is off the chart. It is a bug that I will find and fix.
There are three remaining issues:
1. Please demonstrate the way to draw grid lines that match the TeeChart default grid format, rather than the long dashes of the line property.
2. Could you show me how to move the left axis title away from the custom axis labels, or if necessary, to clear and redraw the title.
3. Please give me a pointer if there is a way to format the axis title and other text to include subscripts and exponents.