Ternary tweaks
Posted: Thu Jul 29, 2010 6:46 pm
I was delighted to see the new TERNARY series type, and have already made client-dazzling use of it in a project!
But there are a few tweaks needed. Please take this as suggestions from an enthusiastic fan who is astounded by how much is in TChart Pro!
* Axes
-- if a bubble is placed on an edge (because one of the three input values is zero),
the bubble may obscure axes labels. A way is needed to place the labels back further from
the main triangle to avoid this. (Settings for axis position don't seem to have any effect.)
* Weighting colors and palettes
-- Weird bug: I have a ternary series set up to use a rainbow palette. If I just crunch away and add points,
it looks terrific! But there is some time involved in doing the calculations for each point.
If I merely add a "Application.ProcessMessages" line in the loop that creates the points,
this messes up the coloring, and in unpredictable ways!
* Second series: it seems that if a second ternary series is added, that series is either transparent
(despite a transparency setting of zero), or perhaps the appearance is because it's drawn below the grid.
* Series editor:
-- one of the tabs is labeled "Grid 3D", but this is actually the tab that is used to set colors
-- user interface quirk: on that "Grid 3D" tab, simply clicking on the three sub-tabs (Single, Range, Palette)
actually changes the setting.
* VertexTitle
-- it isn't clear why each series should have its own set of three VertexTitles
-- If two or more series do have different VertexTitles, these titles are drawn over each other
-- There may be a problem if the second series has its VertexTitles set to an empty string
(I got some list-index-out-of-bounds errors doing that)
-- Where is the font, color and background color set for VertexTitles?
-- The chart is scaled to fit in available space, but the VertexTitles are ignored in this,
so that they wind up spilling off the left and right edges if they are long.
Possible solutions:
- left adjust the VertexTitle at the lower left, right adjust the one at the lower right
or,
- compensate for VertexTitles when auto-sizing the chart
I was going to add a suggestion that a bubble shape that would be great to have on a ternary chart would be a hexagon, but then I checked and saw that you already had that in there! I'm so impressed at how much thought and innovation went into so much of TChart!
But there are a few tweaks needed. Please take this as suggestions from an enthusiastic fan who is astounded by how much is in TChart Pro!
* Axes
-- if a bubble is placed on an edge (because one of the three input values is zero),
the bubble may obscure axes labels. A way is needed to place the labels back further from
the main triangle to avoid this. (Settings for axis position don't seem to have any effect.)
* Weighting colors and palettes
-- Weird bug: I have a ternary series set up to use a rainbow palette. If I just crunch away and add points,
it looks terrific! But there is some time involved in doing the calculations for each point.
If I merely add a "Application.ProcessMessages" line in the loop that creates the points,
this messes up the coloring, and in unpredictable ways!
* Second series: it seems that if a second ternary series is added, that series is either transparent
(despite a transparency setting of zero), or perhaps the appearance is because it's drawn below the grid.
* Series editor:
-- one of the tabs is labeled "Grid 3D", but this is actually the tab that is used to set colors
-- user interface quirk: on that "Grid 3D" tab, simply clicking on the three sub-tabs (Single, Range, Palette)
actually changes the setting.
* VertexTitle
-- it isn't clear why each series should have its own set of three VertexTitles
-- If two or more series do have different VertexTitles, these titles are drawn over each other
-- There may be a problem if the second series has its VertexTitles set to an empty string
(I got some list-index-out-of-bounds errors doing that)
-- Where is the font, color and background color set for VertexTitles?
-- The chart is scaled to fit in available space, but the VertexTitles are ignored in this,
so that they wind up spilling off the left and right edges if they are long.
Possible solutions:
- left adjust the VertexTitle at the lower left, right adjust the one at the lower right
or,
- compensate for VertexTitles when auto-sizing the chart
I was going to add a suggestion that a bubble shape that would be great to have on a ternary chart would be a hexagon, but then I checked and saw that you already had that in there! I'm so impressed at how much thought and innovation went into so much of TChart!