Combine two datasoure/datatable into one datatable
Posted: Wed Jun 20, 2018 2:01 pm
Hello,
I am new to Stimulsoft and I need to create simple bar graph with one extra bar for showing the average value.
(I have attached an image showing what should be the expected output)
About DataSoure:
There is one main DataSource coming from the application from which I want to create a new datasource for the chart. I need to create this new datasource using User Interface and NOT by coding.
GraphTable: The simplest DataTable I could create from main DataSource is something like this
Year Quantity
2014 1
2015 1
2016 2
2017 1
2018 2
In order to show the average bar I need to add one more row to this DataTable (GraphTable) with values as Year => Average & Quantity => 1.2.
Is there a way I can add one more row to this table?
Or
I created another DataTable "AvgTable"
Year Quantity
Average 1.2
Now, Is there a way I can combine the above two tables into one datatable?
Thanks & Regards,
Zalak
I am new to Stimulsoft and I need to create simple bar graph with one extra bar for showing the average value.
(I have attached an image showing what should be the expected output)
About DataSoure:
There is one main DataSource coming from the application from which I want to create a new datasource for the chart. I need to create this new datasource using User Interface and NOT by coding.
GraphTable: The simplest DataTable I could create from main DataSource is something like this
Year Quantity
2014 1
2015 1
2016 2
2017 1
2018 2
In order to show the average bar I need to add one more row to this DataTable (GraphTable) with values as Year => Average & Quantity => 1.2.
Is there a way I can add one more row to this table?
Or
I created another DataTable "AvgTable"
Year Quantity
Average 1.2
Now, Is there a way I can combine the above two tables into one datatable?
Thanks & Regards,
Zalak