Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 01:29:11 +0000



Post From: sc.GetGraphicsSetting() not working

[2023-06-19 19:50:19]
WarriorTrader - Posts: 245
Found this in the header file:

  int32_t GetGraphicsSetting(const int32_t ChartNumber, const n_ACSIL::GraphicsSettingsEnum GraphicsSetting, uint32_t& r_Color, uint32_t& r_LineWidth, SubgraphLineStyles& r_LineStyle)
  {
    return Internal_GetGraphicsSetting(ChartNumber, GraphicsSetting, r_Color, r_LineWidth, r_LineStyle);


And this in a study:

    sc.GetGraphicsSetting(sc.ChartNumber, n_ACSIL::GRAPHICS_SETTING_CHART_BACKGROUND, Color, LineWidth, LineStyle);


Is this the line I need - can't see how this would be better that a simple sc.ChartBackgroundColor????

So the color is stored in the variable color? So now I have an extra step of creating more variables.


Thanks,
Art