User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
Hi Yash,
that's smart. Do it. Put the StepChart in the package
"org.eclipse.swtchart.extensions.linecharts". Don't forget to add
the header:
/*******************************************************************************
* Copyright (c) 2020 SWTChart project.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Yash Bharatiya - initial API and implementation
*******************************************************************************/
Best,
Philip
Am 19.03.20 um 11:57 schrieb Yash
Bharatiya:
Hi,
I think that if a IStepSeriesSetting interface is added
to extensions.stepchart bundle we will need some further
additions like adding a
IStepSeriesData and also creating a
applyStepSeriesSettings in the BaseChart class like in the
case of other charts.
Other option is to just drop the IStepSeriesSetting and
make use of ILineSeriesSettings and enable steps when adding
data series,
If you create a StepChart which extends from LineChart
(in a similar way as the ScatterChart), it could
automatically modify the settings when adding the data. So
the caller don't have to take care to set the flag
"enableStep(true)". It will be set automatically when
creating the series.
Best,
Philip
Am 15.03.20 um 07:10 schrieb Philip Wenig:
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.
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@xxxxxxxxxxxxx » http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@xxxxxxxxxxxxx » http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@xxxxxxxxxxxxx » http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@xxxxxxxxxxxxx » http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~