ASP.NET MVC:
@(Html.EJ().Chart("container")
.PrimaryXAxis(pr => pr.IsIndexed(true))
)
|
Hi, I need to get a similar chart at this: for various cittes, I've 3 measures (Dias Real, Dias No Real and Dias Estimada) in various months. I try get thos chart, with a one city, I get the measures and months grouped for the city, but with two cities, I can't get nothing similar I get this chart, but I can't get show the bars for each city separated. |
We hope that your requirement is to group the different measures(Example: “Real”, “NoReal”, “Estimado”) with respective fields(Example: “INE”). if so, we would suggest that your requirement can be achieved by the PivotChart control, which you can able to grouping the measure(values) with respect to row axis to display the chart. We have prepared a simple sample for your convenience and please find the sample in the below link.
Also, we have provided detailed inform in the online document links for rendering the PivotChart control with different features. Please find the document link below for your reference.
Please let us know if the above information would meet your requirement.
|
Hi,
Thanks for your answer, but I need some similar at this |
We hope that your requirement is to display the chart labels by grouping the measures accordingly. If so, we would inform you that we have provided multi-level label support (grouping label) for PivotChart control. Please find the sample screen shot for your reference below. This feature will be available in the upcoming 2017 Volume 2 release, which is estimated to be available at end of this month (April 2017).
Screen shot:
|
Before Expand |
After Expand |
Example: The below screenshot shows the expand option for chart series “02003” to display its child levels of “Periodo”.
|
Example: The below screenshot shows the expanded state of chart series “02003”, which displays its child levels of “Periodo”. You can use “collapse” option of the PivotChart to return its parent levels of “02003”
|
[CSHTML]
@(Html.EJ().Chart("container3")
.PrimaryXAxis(pr => pr.ZoomFactor(0.1).ZoomPosition(1.0))
.CommonSeriesOptions(cr =>cr.ColumnWidth(15.0))
) |