Coder Social home page Coder Social logo

[issue] map chart resize about tui.chart HOT 5 CLOSED

nhn avatar nhn commented on April 28, 2024
[issue] map chart resize

from tui.chart.

Comments (5)

junghwan-park avatar junghwan-park commented on April 28, 2024

안녕하세요~
먼저 저희 TOAST UI Chart에 관심을 가져 주셔서 감사합니다.

말씀해주신 map chart의 resize 버그는 에러가 나는 부분을 확인했습니다. 수정이 반영되면 댓글로 알려드리겠습니다.

그 다음으로 문의 주신 Chart의 resize기능이 최대화, 최소화시 제대로 동작되지 않는다는 이슈를 확인해 보았습니다.
먼저 크롬, IE 11의 최대화, 복원 동작에서는 재현이 되지 않고있습니다. 창 사이즈(body의 onresize에 이벤트 핸들러를 바인딩 했습니다)에 맞게 즉각 반영됩니다. 여전히 리사이징이 원활하지 않다면 현재 사용하시는 차트의 버전과 chart.resize()를 적용하신 코드를 알려주시면 다시 한번 확인 하겠습니다.

제가 적용한 차트 resize 코드는 아래와 같습니다.
tui.chart - 2.9.0
링크 : https://nhnent.github.io/tui.chart/latest/tutorial-sample03-01-line-chart.html

// ... container, data, option defined here
// ...

var chart = tui.chart.lineChart(container, data, options);

document.body.onresize = function() {
    chart.resize({
        width: document.body.clientWidth/3,
        height: document.body.clientHeight/3
	});
};

from tui.chart.

gem874 avatar gem874 commented on April 28, 2024

from tui.chart.

jinwoo-kim-nhn avatar jinwoo-kim-nhn commented on April 28, 2024

this issue is resolved

from tui.chart.

kimsinkyo avatar kimsinkyo commented on April 28, 2024

안녕하세요 toast ui 차트부분을 사용하다 궁금해서 질문드립니다.
tui-chart.js 파일과 tui-chart-all.js 파일이 어떤점이 다른지 알고 싶습니다.
알려주시면 감사드리겠습니다.

from tui.chart.

jung-han avatar jung-han commented on April 28, 2024

@kimsinkyo

Check this document.

from tui.chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.