From: Nathaniel G. A. <nat...@ya...> - 2003-07-02 01:42:58
|
> Has anyone done any work on rendering the bar charts in a 3D look? I'm > guessing this could be implemented using a custom renderer? Am I on the > right track? > Not yet. I just brought back the 3d pie from jcharts 0.2 (still have a little work to do). A 3d looking bar would not be too difficult to implement. A cheap way to do it would be to simply draw a bar several times(depth), off setting one by a pixel down and to the side. Sort of sliding the bar without clearing the image. Simply trap the first and last to draw a border, then draw the other edges. (see attached 3d pie chart) > Now for something tricker: What about 3-d, for example y-axis plots a > value, x-axis plots the days, and z-axis plots the hours within the day > ? Same approach, but subdivide the depth by the number of bars in each cluster for a clustered 3d look. ===== http://nathaniel-auvil.blog-city.com/ __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |