Hi,
I am rendering multiple series ScatterLine chart. On rendering some of the series lines appear very thin and some thick.
Here is the screenshot for reference https://www.dropbox.com/s/f6v8wyptua0y8na/ThinLines.png
Hi, sanjaysutar
I was not able to replicate this behavior. Namely, configuring multiple scatter line series with identical settings and having the chart to produce lines with different thickness.
I configured a chart with a code like this:
and the result was the chart that you can see below.
Please, provide the code you are using to configure chart series if possible.
Cheers, Lazar
Hi Lazar,
Below is the code:
@(Html.Infragistics().DataChart(Model.SpectralChannelData.AsQueryable()) .ID("spectralChart") .Width("100%") .BottomMargin(5) .TopMargin(5) .LeftMargin(5) .RightMargin(5) .VerticalZoomable(true) .HorizontalZoomable(true) .OverviewPlusDetailPaneVisibility(Visibility.Visible) .Axes((axes) => { axes.NumericX("xAxis").Stroke("Black").StrokeThickness(4).MajorStroke("Whitesmoke"); axes.NumericY("yAxis").Stroke("Black").StrokeThickness(4).MajorStroke("Whitesmoke"); }) .Series(series => { series.ScatterLine("scatterSeries1", Model.Data1) .XAxis("xAxis").YAxis("yAxis").MarkerBrush("Black") .XMemberPath(data => data.SpectralPoint) .YMemberPath(data => data.Wavelength); series.ScatterLine("scatterSeries2", Model.Data2) .XAxis("xAxis").YAxis("yAxis").MarkerBrush("Black") .XMemberPath(data => data.SpectralPoint) .YMemberPath(data => data.Wavelength);
series.ScatterLine("scatterSeries3", Model.Data3) .XAxis("xAxis").YAxis("yAxis").MarkerBrush("Black") .XMemberPath(data => data.SpectralPoint) .YMemberPath(data => data.Wavelength);
series.ScatterLine("scatterSeries4", Model.Data4) .XAxis("xAxis").YAxis("yAxis").MarkerBrush("Black") .XMemberPath(data => data.SpectralPoint) .YMemberPath(data => data.Wavelength) .ShowTooltip(true) .Thickness(5) .TooltipTemplate("tooltipTemplate"); }) .DataBind() .Render() )