hey I have a report where I have a test which can be taken in either training or testing mode. I want to display 2 bars for one x value. here is my ascx:
<ej:Chart ID="PercentagesChart" runat="server" Width="970" Height="600" OnClientLoad="onChartLoad" IsResponsive="true">
<PrimaryXAxis Title-Text="Product" LabelRotation="45" />
<PrimaryYAxis Title-Text="Pass/Fail Percentage(%)" />
<CommonSeriesOptions EnableAnimation="True" Type="StackingBar100" Tooltip-Visible="true"
Tooltip-Format=" #series.name# <br/> X : #point.x# <br/> Y : #point.y# <br/>Percentage : #point.percentage# %" />
<Series>
<ej:Series Name="Testing Pass" XName="Name" YName="TestingPass"></ej:Series>
<ej:Series Name="Testing Fail" XName="Name" YName="TestingFail"></ej:Series>
</Series>
<Series>
<ej:Series Name="Training Pass" XName="Name" YName="TrainingPass"></ej:Series>
<ej:Series Name="Training Fail" XName="Name" YName="TrainingFail"></ej:Series>
</Series>
<Title Text="<%$ Resources:ReportResource, General %>"></Title>
<Legend Position="Right" Alignment="Near"></Legend>
</ej:Chart>
my vb class:
<Serializable()> _
Public Class BarChartDataPercentage
Public Property Name As String
Public Property TestingPass As Double
Public Property TestingFail As Double
Public Property TrainingPass As Double
Public Property TrainingFail As Double
End Class
Where I have the separate <Series> I would like those to be 2 separate bars.
Any ideas on how to do that?