- Home
- Forum
- Angular - EJ 2
- show chart with same source in multiple panels
show chart with same source in multiple panels
Hi, I want to show same pivot chart in two multiple panels with same source and with dropdown from which user can select chart type.
I am getting issue in the way
- I am not able to see charts with same source together in two different panels.
Thanks, I think you have used reactjs, but my requirement is in angular
Also I have created a separate component which contains PivotView.
And my data is coming from database. This single component can be called multiple times when ever I am having component name as 'chart' for different panels. It will load this pivot view which contains single dropdown and and single ejs-pivotview tag.
Thank you so much.
On changing the type of charts from dropdown I am saving in database. And retrieving it back when user comes back to the page. But this time, I am not able to achieve this, since there is only one charttypesetting object and if i set value into it it is applied on both the charts and same I tried by setting index property , again it is applied to all the dropdown.
this.chartddl = new DropDownList({
placeholder: "Chart Types",
floatLabelType: "Auto",
change: this.onChange.bind(this),
value: JSON.parse(this.configJson)['chartType'] //getting it from database
});
Can you please help me out
Mouli
- 5 Replies
- 3 Participants
-
RA RakhiS
- Jul 8, 2021 03:09 AM UTC
- Jul 14, 2021 03:31 PM UTC