pavelkuligin / chart

Create the most popular types of charts by real or random data
MIT License
1.18k stars 63 forks source link

Scatter Plot not working on 51.1 #26

Closed florianpeninon closed 6 years ago

florianpeninon commented 6 years ago

It seems there is a problem in the scatter plot code, see Console log extract below.

TypeError: undefined is not an object (evaluating 'dataObj.table[i * categories + 2][j]')
line: 1224
sourceURL: /Users/.../Library/Application Support/com.bohemiancoding.sketch3/Plugins/Chart.sketchplugin/Contents/Sketch/scatterplot.js
column: 65
pavelkuligin commented 6 years ago

Hi Florian! Fixed in Chart 3.6, have fun :-)

Pavel Kuligin Product Designer T: +7 921 447–98–18

On Wed, 18 Jul 2018 at 12:45, Florian Peninon notifications@github.com wrote:

It seems there is a problem in the scatter plot code, see Console log extract below.

TypeError: undefined is not an object (evaluating 'dataObj.table[i * categories + 2][j]') line: 1224 sourceURL: /Users/florianpnn/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Chart.sketchplugin/Contents/Sketch/scatterplot.js column: 65

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pavelkuligin/chart/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/AaewGqWYkRxqF57Oa1U0kg5bcpzqjYN7ks5uHwOsgaJpZM4VURxM .

--

The information contained in this email, including any attachments, is intended solely for use by the individual or entity named above and may be confidential. If you have received this email in error please delete it and notify the sender immediately; you should not retain the message or disclose its contents to anyone. Behavox is a trademark of Behavox Limited, a company registered in England under number 09066452 whose registered office is at 68 South Lambeth Road, London, England, SW8 1RL.  ©2018 Behavox Ltd. All rights reserved.

marcusandrew commented 6 years ago

Still seems to be an issue with Scatter Plot in 51.1. (running 3.6.0). Does not create a Chart?

pavelkuligin commented 6 years ago

If you use Scatter Plot: Bubbles — Yes in Set Params, try this data: 25, 18, 39, 14 15, 10, 32, 24 25, 25, 10, 40

If Scatter Plot: Bubbles — No, try: 25, 18, 39, 14 15, 10, 32, 24

This should work

marcusandrew commented 6 years ago

Ok. Will give that a go :) Thanks again Pavel for such a time-saving plugin.

marcusandrew commented 6 years ago

Works great. Many thanks.