[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
|
Re: [swtchart-dev] StepChart as a new Chart type
|
Alternatively,
you could play with the settings and create a demo part in:
org.eclipse.swtchart.extensions.examples
Using the setting series.enableStep(true) is the right choice.
Best,
Philip
Am 15.03.20 um 07:08 schrieb Philip
Wenig:
Hi Yash,
it should work, if principally, extra values are added, when
setting the series data.
Let me create a simple example the next week.
Best,
Philip
Am 15.03.20 um 07:06 schrieb Yash
Bharatiya:
Hi,
When adding a new Chart type do we add a new Series like
IStepSeries
or just add
a new SeriesType like SeriesType.STEP in the SeriesType
enum
e.g.-
ILineSeries
lineSeries =
(ILineSeries)chart.getSeriesSet().createSeries(SeriesType.STEP,
"step series");
further we proceed as
if(type==SeriesType.STEP)
{
series=new LineSeries(chart,"Id");
series.enableStep(true);
}
_______________________________________________
swtchart-dev mailing list
swtchart-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/swtchart-dev
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@xxxxxxxxxxxxx » http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
swtchart-dev mailing list
swtchart-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/swtchart-dev
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@xxxxxxxxxxxxx » http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~