Thanks for your response. SampleCustomRender.cs is what I'm venturing into. On a different note, OnStartUp() in NT7 now is OnStateChange() in NT8 if I am not wrong. Would you please consider the following codes in NT7 and advise me on the correct conversion to NT8 codes?
//Variable initialization
private Color barColorUp = Color.Lime;
private SolidBrush brushUp = null;
protected override void OnStartUp()
{
if (ChartControl == null || Bars == null){
return;
}
brushUp = new SolidBrush(barColorUp);
}
Now this goes into OnStateChange (State == State.Default), as I have learnt so far. Color type variable changes to Brush type I assume, but what about conversion of the piece of code within OnStartUp(), specially the conversion between Color and SolidBrush??
Awaiting your reply.
Thanking
Mukaddim
Comment