Hi,
I created a candlestick chart, but only half of the first and last candlesticks are displayed.
I am using Syncfusion.EJ2.MVC5.17.3.0.21.
Please tell me how to resolve.
@(Html.EJS().Chart("container2")
.Margin(mg => mg.Top(30).Left(20).Right(20))
.Height("240px")
.Background("transparent")
.Series(series =>
{
series.Type(Syncfusion.EJ2.Charts.ChartSeriesType.Candle)
.XName("Date")
.Open("Open")
.Close("Close")
.High("High")
.Low("Low")
.EnableSolidCandles(true)
.BearFillColor("#79b020")
.BullFillColor("#e54f37")
.DataSource(Model.ProfitAndLossCandles)
.Add();
})
.PrimaryXAxis(px =>
px.ValueType(Syncfusion.EJ2.Charts.ValueType.DateTime)
.LabelStyle(label => label.Color("whitesmoke"))
.LabelFormat("M/d")
)
.PrimaryYAxis(py => py.LabelStyle(label => label.Color("whitesmoke")))
.UseGroupingSeparator(true)
.Locale("ja")
.Render()
)
Attachment:
image_64c121b5.zip