Discussion about recent product features & solutions!
- Posts: 38
- Joined: Wed Aug 07, 2019 10:50 am
had taken this below panel from example.The chart type,legend position I understood where it is defined.But could not find any script written inside it to define axis names and legend names. I modified legend names in initialize section by adding this.setSeriesName(1, "2018");.and likewise.but what problem I am facing is in quick test for certain time the legend names are as per script then again it is changing to 2015,2016 and 2017.In help, also script examples are given and tried yesterday few of them,who are working fine.but for this type of panels,I am not finding from where they are assigning values,title,legend names as standard and extended property.Font size of lable and it’s position I found in extended property but that part could not find.Can anyone
tell which part do I need to see for modification?
- Posts: 210
- Joined: Tue Jan 15, 2019 3:12 pm
The values, titles and names are set by the function 'initChart' in the scopelib of the panel with 'shChart.setSeries' and 'shChart.setSeriesName'.