Jump to content
Software FX Community

Top of 3d bar has incorrect color


Recommended Posts

I'm maintaining existing Chartfx code (in vb6). For an existing 2d bar chart, which was using a palette, I had to set the colors for each bar which was fine. I also then turned on 3d. When I did that, I noticed the top of each bar had a color different then the vertical portion of the bar. It wasn't a darker color then the vertical, it was a completely different color.

If I switch back to the palette with 3d on, the top of the bar is correct and matches the vertical portion. So I assume that I'm missing something in my code.

 Question: With 3d turned on, do I need to explictly code the top of the bar? Why is the top of the bar a different color than the vertical portion of the bar?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...