Those build errors are on my MAC.
Switching to CentOS (where above steps work, no idea why ?) and hence
coming back to JS error.

I see that the error is at

var chart = nv.models[type]();

Here type is passed as "candlestickBar"

I saw this ex:
https://github.com/novus/nvd3/blob/master/examples/candlestick.html it has

nv.models.candlestickBar()

now with "nvd3": "~1.8.1", in bower.json it should now had resolved and
found that chart type but looks like it has now. I rebuilt the project on
centos and i did see 1.8.1 being downloaded

[INFO] bower nvd3#~1.8.1                        resolve git://
github.com/novus/nvd3.git#~1.8.1

[INFO] Zeppelin: Server ................................... SUCCESS [
11.467 s]

[INFO] Zeppelin: Packaging distribution ................... SUCCESS [
0.730 s]

[INFO]
------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO]
------------------------------------------------------------------------


and it still complains in JS console (Firefox) :

Error: nv.models[b] is not a function

q@http://zeppelin-3529.phx01.dev.ebayc3.com:10008/scripts/scripts.js:1:26173

Now i do not know what is b here ? If i add console.log(type) , i do not
see it on browser console and if I have alert (type) i get compilation
error.

How do i fix this JS error ?

how do i do dev testing,

please help.



On Tue, Sep 29, 2015 at 12:03 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[email protected]> wrote:

> Corneau,
> Unable to build zeppelin or zeppelin-web
>
> #1)
>
> LM-SJL-00877532:zeppelin-web dvasthimal$ pwd
>
>
> /Users/dvasthimal/ebay/projects/poc/zeppelin/incubator-zeppelin/zeppelin-web
>
> LM-SJL-00877532:zeppelin-web dvasthimal$ cd ..
>
> LM-SJL-00877532:incubator-zeppelin dvasthimal*$ pwd*
>
> */Users/dvasthimal/ebay/projects/poc/zeppelin/incubator-zeppelin*
>
> LM-SJL-00877532:incubator-zeppelin dvasthimal*$ mvn clean package
> -Pspark-1.4 -Dspark.version=1.4.1 -Dhadoop.version=2.7.0 -Phadoop-2.6
> -Pyarn -DskipTests*
>
> [INFO] Scanning for projects...
>
> .....
>
> [INFO] Zeppelin: Cassandra ............................... SUCCESS
> [28.075s]
>
> [INFO] Zeppelin: web Application ......................... FAILURE [5.719s]
>
> [INFO] Zeppelin: Server .................................. SKIPPED
>
> [INFO] Zeppelin: Packaging distribution .................. SKIPPED
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 1:36.231s
>
> [INFO] Finished at: Tue Sep 29 11:59:56 PDT 2015
>
> [INFO] Final Memory: 161M/1536M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:0.0.23:npm (npm install) on
> project zeppelin-web: Failed to run task: 'npm install --color=false'
> failed. (error code 1) -> [Help 1]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
>
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> [ERROR]
>
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> [ERROR]   mvn <goals> -rf :zeppelin-web
>
>
> #2:
>
> $ pwd
>
> /Users/dvasthimal/ebay/projects/poc/zeppelin/incubator-zeppelin
>
> LM-SJL-00877532:incubator-zeppelin dvasthimal$ mvn package
>
> Tests in error:
>
>
> SparkInterpreterTest.emptyConfigurationVariablesOnlyForNonSparkProperties »
> Bind
>
>   SparkInterpreterTest.testBasicIntp:104 » NullPointer
>
>   SparkInterpreterTest.testEndWithComment:127 » NullPointer
>
>   SparkInterpreterTest.testListener » Bind Failed to bind to:
> /192.168.113.132:0...
>
>   SparkInterpreterTest.testNextLineInvocation:122 » NullPointer
>
>   SparkInterpreterTest.testReferencingUndefinedVal:158 » NullPointer
>
>   SparkInterpreterTest.testSparkSql:138 » NullPointer
>
>   SparkInterpreterTest.testZContextDependencyLoading:166 » NullPointer
>
>   SparkSqlInterpreterTest.test_null_value_in_row » Bind Failed to bind to:
> /192....
>
>   SparkSqlInterpreterTest.test » Bind Failed to bind to: /
> 192.168.113.132:0: Ser...
>
>   SparkSqlInterpreterTest.testStruct » Bind Failed to bind to:
> /192.168.113.132:...
>
>
> Tests run: 14, Failures: 0, Errors: 11, Skipped: 0
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Reactor Summary:
>
> [INFO]
>
> [INFO] Zeppelin .......................................... SUCCESS [1.851s]
>
> [INFO] Zeppelin: Interpreter ............................. SUCCESS
> [1:18.490s]
>
> [INFO] Zeppelin: Zengine ................................. SUCCESS [3.488s]
>
> [INFO] Zeppelin: Spark dependencies ...................... SUCCESS
> [15.386s]
>
> [INFO] Zeppelin: Spark ................................... FAILURE
> [19.733s]
>
> [INFO] Zeppelin: Markdown interpreter .................... SKIPPED
>
> [INFO] Zeppelin: Angular interpreter ..................... SKIPPED
>
> [INFO] Zeppelin: Shell interpreter ....................... SKIPPED
>
> [INFO] Zeppelin: Hive interpreter ........................ SKIPPED
>
> [INFO] Zeppelin: Apache Phoenix Interpreter .............. SKIPPED
>
> [INFO] Zeppelin: Apache Geode interpreter ................ SKIPPED
>
> [INFO] Zeppelin: PostgreSQL interpreter .................. SKIPPED
>
> [INFO] Zeppelin: Tajo interpreter ........................ SKIPPED
>
> [INFO] Zeppelin: Flink ................................... SKIPPED
>
> [INFO] Zeppelin: Apache Ignite interpreter ............... SKIPPED
>
> [INFO] Zeppelin: Kylin interpreter ....................... SKIPPED
>
> [INFO] Zeppelin: Lens interpreter ........................ SKIPPED
>
> [INFO] Zeppelin: Cassandra ............................... SKIPPED
>
> [INFO] Zeppelin: web Application ......................... SKIPPED
>
> [INFO] Zeppelin: Server .................................. SKIPPED
>
> [INFO] Zeppelin: Packaging distribution .................. SKIPPED
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 1:59.276s
>
> [INFO] Finished at: Tue Sep 29 12:02:25 PDT 2015
>
> [INFO] Final Memory: 54M/1532M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on
> project zeppelin-spark: There are test failures.
>
> [ERROR]
>
> [ERROR] Please refer to
> /Users/dvasthimal/ebay/projects/poc/zeppelin/incubator-zeppelin/spark/target/surefire-reports
> for the individual test results.
>
> [ERROR] -> [Help 1]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
>
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> [ERROR]
>
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> [ERROR]   mvn <goals> -rf :zeppelin-spark
>
> LM-SJL-00877532:incubator-zeppelin dvasthimal$
>
>
> 3:
>
> pmjs.org/throttleit
>
> [ERROR] npm http GET https://registry.npmjs.org/config-chain
>
> [ERROR] npm http GET https://registry.npmjs.org/inherits
>
> [ERROR] npm http 304 https://registry.npmjs.org/throttleit
>
> [ERROR] npm http GET https://registry.npmjs.org/ini
>
> [ERROR] npm http GET https://registry.npmjs.org/mkdirp
>
> [ERROR] npm http GET https://registry.npmjs.org/nopt
>
> [ERROR] npm http GET https://registry.npmjs.org/osenv
>
> [ERROR] npm http GET https://registry.npmjs.org/once
>
> [ERROR] npm http GET https://registry.npmjs.org/semver
>
> [ERROR] npm http GET https://registry.npmjs.org/uid-number/0.0.5
>
> [ERROR] npm http GET https://registry.npmjs.org/graceful-fs
>
> [ERROR] npm http GET https://registry.npmjs.org/jsonfile
>
> [ERROR] npm http GET https://registry.npmjs.org/path-is-absolute
>
> [ERROR] npm http GET https://registry.npmjs.org/rimraf
>
> [ERROR] npm http 304 https://registry.npmjs.org/config-chain
>
> [ERROR] npm http GET https://registry.npmjs.org/bl
>
> [ERROR] npm http GET https://registry.npmjs.org/caseless
>
> [ERROR] npm http GET https://registry.npmjs.org/forever-agent
>
> [ERROR] npm http 304 https://registry.npmjs.org/inherits
>
> [ERROR] npm http 304 https://registry.npmjs.org/mkdirp
>
> [ERROR] npm http 304 https://registry.npmjs.org/ini
>
> [ERROR] npm http 304 https://registry.npmjs.org/nopt
>
> [ERROR] npm http GET https://registry.npmjs.org/qs
>
> [ERROR] npm http 304 https://registry.npmjs.org/osenv
>
> [ERROR] npm http GET https://registry.npmjs.org/json-stringify-safe
>
> [ERROR] npm http GET https://registry.npmjs.org/mime-types
>
> [ERROR] npm http GET https://registry.npmjs.org/node-uuid
>
> [ERROR] npm http GET https://registry.npmjs.org/tunnel-agent
>
> [ERROR] npm http 304 https://registry.npmjs.org/once
>
> [ERROR] npm http GET https://registry.npmjs.org/tough-cookie
>
> [ERROR] npm http GET https://registry.npmjs.org/form-data
>
> [ERROR] npm http GET https://registry.npmjs.org/http-signature
>
> [ERROR] npm http GET https://registry.npmjs.org/oauth-sign
>
> [ERROR] npm http 304 https://registry.npmjs.org/semver
>
> [ERROR] npm http GET https://registry.npmjs.org/hawk/1.1.1
>
> [ERROR] npm http GET https://registry.npmjs.org/aws-sign2
>
> [ERROR] npm http 304 https://registry.npmjs.org/graceful-fs
>
> [ERROR] npm http GET https://registry.npmjs.org/stringstream
>
> [ERROR] npm http 304 https://registry.npmjs.org/uid-number/0.0.5
>
> [ERROR] npm http 304 https://registry.npmjs.org/path-is-absolute
>
> [ERROR] npm http 304 https://registry.npmjs.org/rimraf
>
> [ERROR] npm http 304 https://registry.npmjs.org/bl
>
> [ERROR] npm http 304 https://registry.npmjs.org/caseless
>
> [ERROR] npm http 304 https://registry.npmjs.org/forever-agent
>
> [ERROR] npm http 304 https://registry.npmjs.org/qs
>
> [ERROR] npm http 304 https://registry.npmjs.org/json-stringify-safe
>
> [ERROR] npm http 304 https://registry.npmjs.org/mime-types
>
> [ERROR] npm http 304 https://registry.npmjs.org/node-uuid
>
> [ERROR] npm http 304 https://registry.npmjs.org/tunnel-agent
>
> [ERROR] npm http 304 https://registry.npmjs.org/tough-cookie
>
> [ERROR] npm http 304 https://registry.npmjs.org/form-data
>
> [ERROR] npm http 304 https://registry.npmjs.org/http-signature
>
> [ERROR] npm http 304 https://registry.npmjs.org/oauth-sign
>
> [ERROR] npm http 304 https://registry.npmjs.org/aws-sign2
>
> [ERROR] npm http 304 https://registry.npmjs.org/hawk/1.1.1
>
> [ERROR] npm http 304 https://registry.npmjs.org/stringstream
>
> [ERROR] npm http 304 https://registry.npmjs.org/jsonfile
>
> [ERROR] npm http GET https://registry.npmjs.org/wrappy
>
> [ERROR] npm http 304 https://registry.npmjs.org/wrappy
>
> [ERROR] npm http GET https://registry.npmjs.org/os-homedir
>
> [ERROR] npm http GET https://registry.npmjs.org/os-tmpdir
>
> [ERROR] npm http GET https://registry.npmjs.org/combined-stream
>
> [ERROR] npm http GET https://registry.npmjs.org/mime
>
> [ERROR] npm http GET https://registry.npmjs.org/async
>
> [ERROR] npm http GET https://registry.npmjs.org/abbrev
>
> [ERROR] npm http GET https://registry.npmjs.org/proto-list
>
> [ERROR] npm http 304 https://registry.npmjs.org/os-homedir
>
> [ERROR] npm http 304 https://registry.npmjs.org/os-tmpdir
>
> [ERROR] npm http GET https://registry.npmjs.org/glob
>
> [ERROR] npm http 304 https://registry.npmjs.org/combined-stream
>
> [ERROR] npm http 304 https://registry.npmjs.org/mime
>
> [ERROR] npm http 304 https://registry.npmjs.org/abbrev
>
> [ERROR] npm http 304 https://registry.npmjs.org/async
>
> [ERROR] npm http 304 https://registry.npmjs.org/proto-list
>
> [ERROR] npm http 304 https://registry.npmjs.org/glob
>
> [ERROR] npm http GET https://registry.npmjs.org/readable-stream
>
> [ERROR] npm http GET https://registry.npmjs.org/asn1/0.1.11
>
> [ERROR] npm http GET https://registry.npmjs.org/assert-plus
>
> [ERROR] npm http GET https://registry.npmjs.org/ctype/0.5.3
>
> [ERROR] npm http GET https://registry.npmjs.org/minimist/0.0.8
>
> [ERROR] npm http 304 https://registry.npmjs.org/asn1/0.1.11
>
> [ERROR] npm http 304 https://registry.npmjs.org/assert-plus
>
> [ERROR] npm http 304 https://registry.npmjs.org/ctype/0.5.3
>
> [ERROR] npm http 304 https://registry.npmjs.org/minimist/0.0.8
>
> [ERROR] npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
>
> [ERROR] npm http 304 https://registry.npmjs.org/readable-stream
>
> [ERROR] npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
>
> [ERROR] npm http GET https://registry.npmjs.org/inflight
>
> [ERROR] npm http GET https://registry.npmjs.org/minimatch
>
> [ERROR] npm http 304 https://registry.npmjs.org/inflight
>
> [ERROR] npm http 304 https://registry.npmjs.org/minimatch
>
> [ERROR] npm http GET https://registry.npmjs.org/string_decoder
>
> [ERROR] npm http GET https://registry.npmjs.org/core-util-is
>
> [ERROR] npm http GET https://registry.npmjs.org/isarray/0.0.1
>
> [ERROR] npm http GET https://registry.npmjs.org/brace-expansion
>
> [ERROR] npm http GET https://registry.npmjs.org/boom
>
> [ERROR] npm http GET https://registry.npmjs.org/hoek
>
> [ERROR] npm http GET https://registry.npmjs.org/cryptiles
>
> [ERROR] npm http GET https://registry.npmjs.org/sntp
>
> [ERROR] npm http 304 https://registry.npmjs.org/string_decoder
>
> [ERROR] npm http 304 https://registry.npmjs.org/core-util-is
>
> [ERROR] npm http 304 https://registry.npmjs.org/isarray/0.0.1
>
> [ERROR] npm http 304 https://registry.npmjs.org/hoek
>
> [ERROR] npm http 304 https://registry.npmjs.org/cryptiles
>
> [ERROR] npm http 304 https://registry.npmjs.org/sntp
>
> [ERROR] npm http 304 https://registry.npmjs.org/brace-expansion
>
> [ERROR] npm http 304 https://registry.npmjs.org/boom
>
> [ERROR] npm http GET https://registry.npmjs.org/concat-map/0.0.1
>
> [ERROR] npm http GET https://registry.npmjs.org/balanced-match
>
> [ERROR] npm http 304 https://registry.npmjs.org/balanced-match
>
> [ERROR] npm http 304 https://registry.npmjs.org/concat-map/0.0.1
>
> [INFO]
>
> [INFO] > [email protected] install
> /Users/dvasthimal/ebay/projects/poc/zeppelin/incubator-zeppelin/zeppelin-web/node_modules/karma-phantomjs-launcher/node_modules/phantomjs
>
> [INFO] > node install.js
>
> [INFO]
>
> [INFO] Downloading
> https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip
>
> [INFO] Saving to
> /var/folders/0v/446flf5d3gddq7tnhljk15pc3910pj/T/phantomjs/phantomjs-1.9.8-macosx.zip
>
> [INFO] Receiving...
>
> [INFO]
>
> [ERROR] Error making request.
>
> [ERROR] Error: read ECONNRESET
>
> [ERROR]     at errnoException (net.js:901:11)
>
> [ERROR]     at TCP.onread (net.js:556:19)
>
> [ERROR]
>
> [ERROR] Please report this full log at https://github.com/Medium/phantomjs
>
> [ERROR] npm ERR! weird error 1
>
> [ERROR] npm ERR! not ok code 0
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 5.278s
>
> [INFO] Finished at: Tue Sep 29 12:03:13 PDT 2015
>
> [INFO] Final Memory: 21M/439M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:0.0.23:npm (npm install) on
> project zeppelin-web: Failed to run task: 'npm install --color=false'
> failed. (error code 1) -> [Help 1]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
>
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> LM-SJL-00877532:zeppelin-web dvasthimal$
>
>
> $ mvn -version
>
> Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27
> 19:15:32-0700)
>
> Maven home: /Users/dvasthimal/ebay/softwares/apache-maven-3.1.0
>
> Java version: 1.7.0_79, vendor: Oracle Corporation
>
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
>
> Default locale: en_US, platform encoding: UTF-8
>
> OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac"
>
> LM-SJL-00877532:zeppelin-web dvasthimal$
>
>
> Any suggestions ?
>
>
>
>
>
> On Tue, Sep 29, 2015 at 9:06 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[email protected]>
> wrote:
>
>> Am looking to add candle stick now as box plot is done, unable to fix js
>> error with dummy data and unable to print contents of data object with
>> Alert or console.log , how do I debug and fix js error
>> On Mon, Sep 28, 2015 at 9:40 PM madhuka udantha <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> rookalkar contact me over her gmail, for her task.
>>> You can try it, if you need her help.
>>> BTW she also followed[1] which is shared Damien.
>>>
>>> Box plot can added easily for zeppelin. If I have time I will fix it.
>>>
>>>
>>> http://madhukaudantha.blogspot.kr/2015/08/introducing-new-chart-library-and-types.html?m=1
>>>
>>> On Tue, Sep 29, 2015 at 5:50 AM, Corneau Damien <[email protected]>
>>> wrote:
>>>
>>>> 1) Thats the best step by step approach to get a new graph working.
>>>>
>>>> 2) you can use 'grunt serve' (cf.
>>>> https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/README.md
>>>> )
>>>> On Sep 29, 2015 2:53 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[email protected]> wrote:
>>>>
>>>>> I did have a look at the PR 321 and failed to get in touch with its
>>>>> developer (rookalkar) via linkedin/gmail/twitter.
>>>>>
>>>>> I attempted to add candle stick support to zeppelin. In short it did
>>>>> not work, in long read on.
>>>>>
>>>>> *JS Error: (Chrome developer tools)*
>>>>> TypeError: nv.models[b] is not a function
>>>>>     at q (http://zeppelin-server.com:10008/scripts/scripts.js:1:26185)
>>>>>     at l.a.setGraphMode (
>>>>> http://zeppelin-server.com:10008/scripts/scripts.js:1:24693)
>>>>>     at l.a.init (
>>>>> http://zeppelin-server.com:10008/scripts/scripts.js:1:13350)
>>>>>     at me.functionCall (
>>>>> http://zeppelin-server.com:10008/scripts/vendor.js:39:10378)
>>>>>     at l.a.$get.l.$eval (
>>>>> http://zeppelin-server.com:10008/scripts/vendor.js:38:1094)
>>>>>     at zc.compile.pre (
>>>>> http://zeppelin-server.com:10008/scripts/vendor.js:39:25248)
>>>>>     at fa (http://zeppelin-server.com:10008/scripts/vendor.js:37:3594)
>>>>>     at v (http://zeppelin-server.com:10008/scripts/vendor.js:36:29494)
>>>>>     at h (http://zeppelin-server.com:10008/scripts/vendor.js:36:25521)
>>>>>     at b.$get.b (
>>>>> http://zeppelin-server.com:10008/scripts/vendor.js:36:25017) <div
>>>>> id="{{currentParagraph.id}}_paragraphColumn_main"
>>>>> ng-repeat="currentParagraph in note.paragraphs"
>>>>> ng-controller="ParagraphCtrl" ng-init="init(currentParagraph)"
>>>>> ng-class="columnWidthClass(currentParagraph.config.colWidth)"
>>>>> class="paragraph-col ng-scope">
>>>>>
>>>>>
>>>>> *Output:*
>>>>> [image: Inline image 1]
>>>>>
>>>>> I do not see any graph because of JS error and other unknown error.
>>>>>
>>>>>
>>>>> Coming to code changes:
>>>>> Attached is the git diff.
>>>>>
>>>>> Questions
>>>>> 1) Obviously, how to fix that JS error.
>>>>> 2) paragraph.controller.js:
>>>>>
>>>>> Changes:
>>>>>
>>>>> } else if (type === 'candleStick') {
>>>>>
>>>>>       d3g = [{values: [{'date': 15854, 'open': 165.42, 'high': 165.8,
>>>>> 'low': 164.34, 'close': 165.22, 'volume': 160363400, 'adjusted':
>>>>> 164.35},
>>>>>
>>>>>                        {'date': 15855, 'open': 165.35, 'high':
>>>>> 166.59, 'low': 165.22, 'close': 165.83, 'volume': 107793800,
>>>>> 'adjusted': 164.96}]}];
>>>>>
>>>>>       $scope.chart[type].x(function(d) { return d.date; }).y(function(d)
>>>>> { return d.close; }).duration(250).maxBoxWidth(75).yDomain([0, 500]);
>>>>>
>>>>>       $scope.chart[type].xAxis.tickFormat(function(d) {
>>>>>
>>>>>               return d3.time.format('%x')(new Date(new Date() -
>>>>> (20000 * 86400000) + (d * 86400000)));
>>>>>
>>>>>           });
>>>>>
>>>>>       $scope.chart[type].yAxis.axisLabelDistance(50).tickFormat(
>>>>> function(d,i){ return '$' + d3.format(',.1f')(d); });
>>>>>
>>>>>       $scope.chart[type].useInteractiveGuideline(true);
>>>>>
>>>>>       }
>>>>>
>>>>>
>>>>> 1) I have dummy data for 2 points in candle stick and the below code
>>>>> to get the candle stick.  Once i get this plotted on zeppelin, i will then
>>>>> want to work with actual data.  Is above right way of doing it.
>>>>>
>>>>> 2) Dev environment: I made code changes, moved to ubuntu , built on
>>>>> ubuntu (as mac build fails, questions on other post) and then run
>>>>> start/stop. This looks like a long way of testing UI changes (JS/HTML). In
>>>>> my past experience i make such changes to deployed webapp and just refresh
>>>>> browser. Looks like that is not the case here, as JS is jumbled up and i
>>>>> cannot see my JS on developer tools (chrome). Is this expected ?
>>>>>
>>>>>
>>>>> Once i get it working, i will write a wiki and have it contributed
>>>>> back to zeppelin.
>>>>> Regards,
>>>>> Deepak
>>>>>
>>>>>
>>>>> On Mon, Sep 28, 2015 at 2:05 AM, Corneau Damien <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> You can find a lot of informations in the README.md in github.
>>>>>> There is also a few guides on how to contribute
>>>>>> https://github.com/apache/incubator-zeppelin/blob/master/CONTRIBUTING.md
>>>>>>
>>>>>> https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/CONTRIBUTING.md
>>>>>>
>>>>>> And regarding the box plot, just like I said before, there is the PR
>>>>>> #321 that is doing it. To understand how you can add a graph, you can 
>>>>>> check
>>>>>> that PR or the source code of zeppelin-web (paragraph.js).
>>>>>>
>>>>>> Madhuka also made a post when he worked on the map chart for GSOC,
>>>>>> that explained how you can add a new visualization in zeppelin source 
>>>>>> code.
>>>>>>
>>>>>> http://madhukaudantha.blogspot.kr/2015/08/introducing-new-chart-library-and-types.html?m=1
>>>>>> On Sep 28, 2015 4:41 AM, "tog" <[email protected]> wrote:
>>>>>>
>>>>>>> Hi Deepak
>>>>>>>
>>>>>>> Do not hesitate to ask your specific questions on the mailing list?
>>>>>>> The answers might help other people as well
>>>>>>>
>>>>>>> Cheers
>>>>>>> Guillaume
>>>>>>>
>>>>>>> On 27 September 2015 at 17:14, ÐΞ€ρ@Ҝ (๏̯͡๏) <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Any suggestions ??
>>>>>>>>
>>>>>>>> On Fri, Sep 25, 2015 at 2:52 PM ÐΞ€ρ@Ҝ (๏̯͡๏) <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hello Lucas,
>>>>>>>>> Will it be possible for you to have a quick chat with me. I need
>>>>>>>>> your help in understand a little background of the changes made,
>>>>>>>>> development environment setup and dev test environment.
>>>>>>>>> Really appreciate your support here.
>>>>>>>>> Regards,
>>>>>>>>> Deepak
>>>>>>>>>
>>>>>>>>> On Fri, Sep 25, 2015 at 2:04 AM, Partridge, Lucas (GE Aviation) <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Go here for a list of Zeppelin pull-requests:
>>>>>>>>>> https://github.com/apache/incubator-zeppelin/pulls
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> You’ll see #321 in the list or
>>>>>>>>>> https://github.com/apache/incubator-zeppelin/pull/321 if you
>>>>>>>>>> want a direct link.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *From:* ÐΞ€ρ@Ҝ (๏̯͡๏) [mailto:[email protected]]
>>>>>>>>>> *Sent:* 25 September 2015 04:11
>>>>>>>>>> *To:* [email protected]
>>>>>>>>>> *Subject:* Re: Box plot graph support missing,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Please share url
>>>>>>>>>>
>>>>>>>>>> On Thu, Sep 24, 2015 at 7:35 PM Corneau Damien <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> There is already PR#321 being done
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Fri, Sep 25, 2015 at 11:30 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>> Can someone guide me here. I want to add support for box plot
>>>>>>>>>> graph, how do i go from here.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Also, please describe your dev setup. IDE , Mac etc.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Wed, Sep 23, 2015 at 4:44 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>> I do not see box plot graph support in Zeppelin. So i guess i
>>>>>>>>>> will have to add it.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I saw this commit from @minahlee
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-zeppelin/commit/5fce509131f25b2e30590a9d60667f428ef53835
>>>>>>>>>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dzeppelin_commit_5fce509131f25b2e30590a9d60667f428ef53835&d=BQMFaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=c1CCNND4PG-Q_V2AJWDWrugZAXQ8Y3EE_f_mAHcpXcs&m=mnlsQFiRLxhbpxFQZJf8zD5y989iHorJ2qSEYbViPoM&s=21g1JA5ljCaWMSDk34QgxvQKwc6Gh1SvuF2f8D0does&e=>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 1) Do i need to something similar  ?
>>>>>>>>>>
>>>>>>>>>> 2) Is my assumption and hence the developing the solution a right
>>>>>>>>>> direction ?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> Deepak
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> Deepak
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Deepak
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> PGP KeyID: 2048R/EA31CFC9  subkeys.pgp.net
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Deepak
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Madhuka Udantha
>>> http://madhukaudantha.blogspot.com
>>>
>>
>
>
> --
> Deepak
>
>


-- 
Deepak

Reply via email to