North American Sales: 1-800-231-8588
Global Contacts
My Account
Menu
North American Sales: 1-800-321-8588
My Account
Sign In/Register
Design & Development
Design & Develop
Best Value
Infragistics Ultimate
The complete toolkit for building high performing web, mobile and desktop apps.
Indigo.Design
Use a unified platform for visual design, UX prototyping, code generation and application development.
Web
Ignite UI for Angular
Ignite UI for JavaScript
Ignite UI for React
Ultimate UI for ASP.NET
Indigo.Design
Desktop
Ultimate UI for Windows Forms
Ultimate UI for WPF
Prototyping
Indigo.Design
Mobile
Ultimate UI for Xamarin
Ultimate UI for iOS
Ultimate UI for Android
Automated Testing Tools
Test Automation for Micro Focus UFT: Windows Forms
Test Automation for Micro Focus UFT: WPF
Test Automation for IBM RFT: Windows Forms
UX
Indigo.Design Desktop
Collaborative prototyping and remote usability testing for UX & usability professionals
Indigo.Design
A Unified Platform for Visual Design, UX Prototyping, Code Generation, and App Development
Business Intelligence
Reveal Embedded
Accelerate your time to market with powerful, beautiful dashboards into your apps
Reveal App
Empower everyone in your organization to use data to make smarter business decisions
Team Productivity
Learn & Support
Support
Help & Support Documents
Blogs
Forums
Product Ideas
Reference Applications
Customer Stories
Webinars
eBook & Whitepapers
Events
Free Trials
Pricing
Product Pricing / Buy Online
Renew Existing License
Contact Us
Forums
Ultimate UI for ASP.NET Web Forms
Your Privacy Matters
: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use.
Cookie Policy
Close
State
Not Answered
Replies
2 replies
Subscribers
8 subscribers
Views
550811 views
Users
0 members are here
UltraWebChart
Transparent Bar StackChart
Share
More
Cancel
305
How to make a stack bar transparent?
Holger
posted
over 16 years ago
Hello, i wanted to use a stack chart to implement a special diagram. To solve the problem, i need to show the first bar of each stack transparent (as a kind of placeholder) . But all i do it is shown in a range from white to black.
MyUltraChart.ColorModel.AlphaLevel = 255
MyUltraChart.ColorModel.Grayscale = False
MyUltraChart.ColorModel.CustomPalette = New Drawing.Color() {Drawing.Color.Transparent, ColorPrimary, ColorSecondary, ColorThird}
MyUltraChart.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomLinear
Why does it ignore Color.Transparent and White in CustomPalette?
And how can i hide the bar borders?
Thank you very much!
Holger
Parents
No Data
Reply
305
Holger
posted
over 16 years ago
I can disable the gradient effect by . Now i can use transparency. Only question i look for is how i can disable borders for special bars of a stack chart...
Cancel
Reply
Cancel
Children
305
Holger
posted
over 16 years ago
in reply to
Holger
I found a way how i can hide columns in a chart:
Protected Sub myChart_ChartDrawItem(ByVal sender As Object, ByVal e As Infragistics.UltraChart.Shared.Events.ChartDrawItemEventArgs) Handles myChart.ChartDrawItem
If e.Primitive.Column = 0 Then
e.Primitive.Visible = False
End If
End Sub
Solved.
Holger
Cancel
Reply
Cancel