Giter VIP home page Giter VIP logo

Comments (5)

yechunxi avatar yechunxi commented on May 14, 2024 2

@wunai-max The reason for this problem is that you do not use echarts MarkLineComponent in your project. Modify the following code to display it normally.

import {GridComponent, TooltipComponent,  MarkLineComponent} from 'echarts/components';
echarts.use([SVGRenderer, LineChart, GridComponent,TooltipComponent, MarkLineComponent]);

from react-native-echarts.

wunai-max avatar wunai-max commented on May 14, 2024

import {SVGRenderer, SvgChart} from '@wuba/react-native-echarts';
import {LineChart} from 'echarts/charts';
import {GridComponent, TooltipComponent} from 'echarts/components';
import * as echarts from 'echarts/core';
echarts.use([SVGRenderer, LineChart, GridComponent, TooltipComponent]);

from react-native-echarts.

yechunxi avatar yechunxi commented on May 14, 2024

I can't reproduced your problem. Can you provide a demo of the reproduction? The information you provided is rendered using svg. You can also provide the react-native-svg version.

from react-native-echarts.

wunai-max avatar wunai-max commented on May 14, 2024

我无法重现你的问题。能提供一下复现的demo吗?您提供的信息是使用 svg 呈现的。您也可以提供react-native-svg版本。

Using skia or svg markLine attribute can not take effect, the appeal code is the demo I used in the project, the version of react-native svg is 9.13.6, and the version of @shopify/react-native skia is 0.1.210

from react-native-echarts.

wunai-max avatar wunai-max commented on May 14, 2024

TestEchart.txt
demo
25A81131-B9CE-43EB-9E02-45BB2A5FA938

from react-native-echarts.

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.