Flexchart Diagramm

Posted by: saidnai on 28 September 2022, 11:21 pm EST

    • Post Options:
    • Link

    Posted 28 September 2022, 11:21 pm EST - Updated 3 October 2022, 1:09 pm EST

    Good day,

    I am using the diagramm in a Flexreport. Unluckily i cannot find where i can show the values on both digramms (Bar or Pie). Is there a sample Flexreport with diagramm that i can learn from it?

    Best regards


  • Posted 29 September 2022, 10:30 pm EST


    Thanks for the snapshot.

    To achieve your requirement, you need to add CategoryGroups and SeriesValue to the ChartData for both charts.

    Please refer for the attached sample for the same : FlexReport_FlexChart_Representation.zip

    Best Regards,


  • Posted 29 September 2022, 11:31 pm EST - Updated 3 October 2022, 1:09 pm EST

    Hi Nitin,

    The Diagramm in the Flexreport get its values from the dataset assigned in the report.

    It is the first time that i am doing it and i need to know where can i do it in the Flexreport properties. (see picture attached)

    PS: (I prefere the sample in VB)

    Thanks a lot and Best regards


  • Posted 2 October 2022, 9:49 pm EST


    Apologize for the delay in response.

    We have created a VB application to add DataSeries and DataValue to the ChartField in report.(see code snippet)

    Dim barChart = CType(report.Sections.Footer.Fields("Field1"), ChartField)
    Dim group = New Chart.ChartDataGroup()
    group.Name = "Name"
    group.GroupExpression = "Name"
    Dim series = New Chart.ChartDataSeries()
    Dim dataValue = New ChartDataValue()
    dataValue.ValueExpression = "Value"
    Dim pieChart = CType(report.Sections.Footer.Fields("Field2"), ChartField)
    Dim group2 = New Chart.ChartDataGroup()
    group2.Name = "Name"
    group2.GroupExpression = "Name"
    Dim series2 = New Chart.ChartDataSeries()
    Dim dataValue2 = New ChartDataValue()
    dataValue2.ValueExpression = "Value"
    series2.Label = "Series Data"

    Please refer the attached sample for the same : FlexReport_Chart_VB.zip

    Best regards,


  • Posted 3 October 2022, 11:24 pm EST

    Hi Nitin,

    I think i was not clear with what i need. I will explain it carefully:

    I am using a Flexchart in a Flexreport as you can see in the pictures. I need to show the values on the bars diagramm or the Pie diagramm. So how can i build it in the Flexreport properties?

    PS: (please see my pictures)

    Best regards


  • Posted 5 October 2022, 7:37 pm EST


    Apologize for the misunderstanding.

    As we understand, you want to set DataLabel on Bar and Pie Chart.

    To achieve this requirement you can set Text = {#YVAL} on DataLabel.

    This will shows the Bounded Y value on the particular symbol.

    Please refer the attached sample for the same : FlexReport_FlexChart_Representation_Mod.zip

    Best Regards,


Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels