C#: Indicator Coding: Plot default values not appearing

Questions about MultiCharts .NET and user contributed studies.
ycomp
Posts: 23
Joined: 30 Sep 2013
Has thanked: 7 times
Been thanked: 1 time

C#: Indicator Coding: Plot default values not appearing

Postby ycomp » 08 Oct 2013

Hi, I create an indicator in C#...

that plots a few plots on the chart...

when I add the Study to the chart, it gets the colors right...

all plots have correct colors...

but it just draws solid lines...

but in my constructor parameters for new PlotAttributes(...), I specify they are dashed and thicker

When I then open the Format Study dialog, as soon as I click the Style Tab, it shows the correct styles for the lines both in the dialog and updates to correct line styles in the chart.

How can I make it so that I don't need to do that? Why do the specified line styles not appear by default on the chart when my study is first added?

clonardo
Posts: 16
Joined: 27 Sep 2013
Has thanked: 1 time
Been thanked: 1 time

Re: C#: Indicator Coding: Plot default values not appearing

Postby clonardo » 12 Oct 2013

Specifically, what visual parameters are you trying to apply to the chart? Can you post any sample code on the indicator?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: C#: Indicator Coding: Plot default values not appearing

Postby Henry MultiСharts » 15 Oct 2013

This issue has been confirmed. The fix is targeted to MultiCharts .NET 8.8 Beta 2


Return to “MultiCharts .NET”