Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Customization of Tradeoff Analytics Widget version 2

506R71P4UE gravatar image
Question by genehuh  (5) | Jul 07, 2016 at 03:36 AM watsoncustomizationtradeoff-analyticscustomize

In version 1 of the Tradeoff Analytics widget, we were able to customize the widget's features using profiles. The profiles appear to have been removed from the widget initialization options in v2. Is there an undocumented way to turn filters on/off and to do things like skipping the 'Select Criteria' screen and to go directly into the 'Overview + Add for Comparison' screen?

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

2 answers

  • Sort: 
2700056HV0 gravatar image
Accepted answer

Answer by 6HV0_David_Boaz (561) | Jul 11, 2016 at 03:29 AM

We have a minimal, not-formal, not-documented support in profiles. Look at https://github.com/dolevdotan/tradeoff-analytics-v2-vanilla-nodejs/blob/master/public/index.js line 18. you can pass a profile object as a second parameter to the constructor. in particular, to skip the first step and to turn off the filters , pass {objectivesPage: false, overviewPage:{filters:'none'}}.

You might also need to customize the styles. see http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/tradeoff-analytics/client.shtml#usingThemes,Sorry for late response, We actually have some minimal support in profiles. But, as it is not formal, it is not documented. Look at https://github.com/dolevdotan/tradeoff-analytics-v2-vanilla-nodejs/blob/master/public/index.js in line 18, you can add a profile object as the second parameter.

In particular, to skip the 'objectivesPage' (first) step and to turn off the filters in the overviewPage (second), pass {objectivesPage: false, overviewPage:{filters:'none'}}.

You may need to customize the widget styles using CSS. please look at http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/tradeoff-analytics/client.shtml#usingThemes

regards, David

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
506R71P4UE gravatar image

Answer by genehuh (5) | Jul 26, 2016 at 01:16 PM

Thanks David. Passing in a profile object provided what we needed.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

75 people are following this question.

Answers

Answers & comments

Related questions

Clicking through to the final tip in the Tradeoff Analytics Widget v2 Help modal leaves the screen unclickable. Can the help tips be disabled? 0 Answers

Tradeoff Analytics Filter vs Objectives 1 Answer

Errors trying to integrate Tradeoff Analytics widget into application 4 Answers

Tradeoff analytics 503 Service Unavailable status code when calling show() method from client 2 Answers

Error on Watson Tradeoff Analytics - "not marked as ignorable" 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges