Skip to Content
avatar image
Former Member

Default Selection in Chart on Application Startup in Design Studio

Hi Experts,

We have a requirement to show the default selection of Chart (Heat Map) on Application Startup. Currently it is happening only when we click on chart.

I have tried with Chart_1.onSelect(); code on Application Startup window, but it is not working.

Attached are the screenshots of current and required scenario to make it clear

Please suggest.

Thanks

Vaishali

Add comment
10|10000 characters needed characters exceeded

  • Hi - I have to say that is a strange requirement; what is the business reason for it?

    Would you please share version of Design Studio, SP, and are you using the Chart component or InfoChart? Is your data source a BEx query?

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jun 06, 2017 at 11:44 AM

    Hi,

    Sorry I missed important information.

    There is drill down on this Heat Map, and on selection of values PL01, PL02..... other chart (Chart 2) is changing.

    That is why on application start up , we want the default selection for PL01 to be highlighted.

    For Chart 2, we have used the below code on application start up.

    DS_2.setFilter("4DS_INVPRJ-PLANT", "PL01");

    DS_2-- Data source used for Chart 2

    Other Information

    DS Version - 1.5 SP0

    Chart Component- Basic not Infochart

    Data Source - Bex Query.

    Please help :)

    Thanks

    Vaishali

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Vaishali - a couple of comments (no answers, really, but suggestions):

      1. 1.5 SP0 is very old and several years old; I recommend upgrading to 1.6 and the latest SP

      2. Consider using Infocharts (instead of the CHART component) with Treemaps - they look like Heatmaps

      Then try revisiting this requirement

  • Jun 06, 2017 at 01:47 PM

    Hi Vaishali,

    I reiterate Tammy's suggestion of upgrading to DS 1.6 and using Infocharts. Then you should be able to apply the appropriate CSS to the chart for simulating a default selection on startup.

    Regards,

    Mustafa.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 06, 2017 at 06:48 PM

    Is there any workaround to achieve this in DS 1.5

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 07, 2017 at 02:19 PM

    Can you please help with css for Heat Map by which we can change color of nth box in heat map, if possible.

    As I can see in below post that we can do it for crosstab.

    https://blogs.sap.com/2015/05/14/css-tips-tricks-default-selection-in-a-crosstab-in-sap-businessobjects-design-studio/

    I have tried hart css but it is not reflecting for Heat Map

    Thanks

    Vaishali

    Add comment
    10|10000 characters needed characters exceeded