Chart : displaying boolean flags in a time plot as filled rectangles (instead of as lines)
问题 I use the C# Chart in WinForms to plot a variety of variables in real time using the "line" chart type. That works well for analog values, but it's less than ideal for on/off flags. I'd like to plot multiple flags as horizontal bars that are filled when the value is '1" and clear when the value is '0'. Before I start coding a solution from scratch, do you have any suggestion on how I could take advantage of any features of the "chart" object to implement this more effectively? EDIT: I am