Visual C# Express and API ChartStyle Example
Author: dansmo
Creation Date: 4/15/2010 4:59 AM
profile picture

dansmo

#1
Hi,


I just installed Visual C# Express and tried to implement the ChartStyle as described in the API document by Fidelity. However I am experiencing some problems. I guess this is because I am using C# for the first time.

I created a project in Visual Express and added the references. When debugging, I get the message that the type or namespace LineChartStyleSettings in
private LineChartStyleSettings _settingsUI;
cannot be found.

What am I missing?
Sorry for this basic questiond and those that will sure follow.
dansmo
profile picture

Eugene

#2
It probably will be easier for you to take an already working project, see the ins and outs, and modify to your taste:

Wealth-Lab Wiki > Home - Community.ChartStyles
profile picture

dansmo

#3
Thank you for your hint. I´ll try it that way.
profile picture

dansmo

#4
Okay, I played a bit with it and was at least able to come up with a "Dotted" ChartStyle:
If you want you can add it to community.

CODE:
Please log in to see this code.


However, what I don´t understand is how to change "ThickBarChartStyleSettings" to "DottedChartStyleSettings". It doesnt make a difference, but when I try to rename the classes I get lots of errors that I dont understand,
i.e. Community.ChartStyles.DottedChartStyleSettings does not contain a defintion fpr "SuspendLayout"...bla bla.
profile picture

Eugene

#5
Thank you for your submission. I'll mark it for later.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).