Show name below bar when using dataset?

2024-10-25 Thread nicke
How do I show the name of the series below a bar when using a dataset? In this example it is the same data shown in the legend (but I want it below each bar): https://echarts.apache.org/examples/en/editor.html?c=dataset-simple0&code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcSYOAHmHgOQCyAhmAMYAW1sAMrUeQDSy4B

Re: [Discussion] Apache ECharts 6.0 Feature Discussion

2024-08-15 Thread nicke
It has disappeared unfortunately. I believe d3 was used, I know nothing about d3 but gather it can be a more "manual" solution rather than a feature of d3. I have read some discussions about how to indicate overlapping data, like a minimal offset and transparency (I guess that is possible right

Re: [Discussion] Apache ECharts 6.0 Feature Discussion

2024-07-17 Thread nicke
God morning Ovilia, Sure thing: In a line-chart with several series, the lines naturally overlap if they have the same value. Is there any way to show that the line contains more data? I saw some example with another library, where if say green and red lines overlapped, the resulting line would

Re: [Discussion] Apache ECharts 6.0 Feature Discussion

2024-07-17 Thread nicke
- Overlapping lines can be shown as multi-colored / composite / multi series https://lists.apache.org/thread/hp0qfbn3st4vrd0lskhdc5hvc202fltj On 21.05.2024 07:56, Ovilia wrote: Apache ECharts 5.0 was released in December 2020, and now it's time for the next major version: 6.0! We are excite

Re: Omit columns from dataset in aria?

2024-06-14 Thread nicke
Hi Ovilia, Can you take a look at: https://github.com/semla/echarts/commit/ad1d4878dc1e4efec4ce102a7ca9ca0c9ba1d251 Is that a good start? On 18.02.2024 09:07, Ovilia wrote: Hi Nicke, Thanks for being interested in making a PR. No, it's not related. preprocessor.ts#L36 is compatibility re

Tree-shaking breaks from import * as echarts from 'echarts/core'

2024-04-27 Thread nicke
I see that in the docs for tree-shaking it says to "import * as echarts from 'echarts/core'". iiuc this breaks the tree-shaking when building with vite (using nx monorepo and echarts is included even if not used in the specific app). Or is there a workaround?

Re: Omit columns from dataset in aria?

2024-02-13 Thread nicke
Any idea how that code would look like? After taking a very brief look I guess this: https://github.com/apache/echarts/blob/031a908fafaa57e2277b2f720087195925ec38cf/src/component/aria/preprocessor.ts#L36 has something to do with it? On 05.02.2024 02:53, Ovilia wrote: Hi, Currently, Apache EChar

Omit columns from dataset in aria?

2024-02-04 Thread nicke
iiuc the aria-label describes all of the data in the dataset. Is it possible to only show some columns?

Graphic with svg data?

2024-01-11 Thread nicke
How can you show svg data in a Graphic element? I can get it to work with data that is data:image/png like "paperDataURI" in the example [1]. But not with data:image/svg+xml Something like: graphic: { elements: [ { type: 'image',

Re: What makes the line race animation example animate?

2023-11-17 Thread nicke
Ok, it's just the default animation. It wasn't showing due to the extension I am using in Angular, but now all good. Could there be any way to make the animation smoother, without changing the dataset or animationDuration? On 09.11.2023 08:24, ni...@bliq.se.INVALID wrote: Looking at https://ec

What makes the line race animation example animate?

2023-11-08 Thread nicke
Looking at https://echarts.apache.org/examples/en/editor.html?c=line-race but can't figure out what makes the animation? I mean what makes it different from an ordinary line chart, where is the code that steps forward each year? The bar race uses setInterval but no such thing in the line race e

Re: Action to set axisPointer?

2023-07-14 Thread nicke
Thanks, but I can't find updateAxisPointer in the docs or get it to work? On 20.03.2023 04:12, SHUANG SU wrote: There is an action named 'updateAxisPointer' might help. Like ```js chart.dispatchAction({ type: 'updateAxisPointer', currTrig

Action to set axisPointer?

2023-03-17 Thread nicke
Is there any way to set the position of the axisPointer via code? I suppose not since I can't find it among the actions. Would be useful imho

Re: Distinguish lines with same values? Indicate more lines

2023-02-12 Thread nicke
Hello Ovilia, Glad you like the feature, I think it would be useful. I am not sure I can implement it, but I can start by discussing it. - Would the setting be in the line-series? Or is this something that is useful on more chart-types? Maybe something similar exists already for other chart t

Distinguish lines with same values? Indicate more lines

2023-01-25 Thread nicke
In a line-chart with several series, the lines naturally overlap if they have the same value. Is there any way to show that the line contains more data? I saw some example with another library, where if say green and red lines overlapped, the resulting line would be dashed red and green.

dispatchAction, animate zoom?

2023-01-16 Thread nicke
I am zooming in a lot in a line-chart using dispatchAction. I would like the zoom to be animated. Is that possible? Setting animationDuration and animationDurationUpdate does not seem to make any difference

Line chart and bar chart with the same data? Bar showing one specific time

2022-11-08 Thread nicke
I want to link a line chart with several series to a bar chart. If I click (or on mouseover) in the timeline, I want the bar chart to show the values of the series for the current time. What is the best way to do that? Thanks

When is a series displayed in a separate chart?

2022-10-31 Thread nicke
I am trying to have a line chart and a bar chart in separate charts, but use the same dataset. But they are showing up in the same chart. In this example [1] there is one line chart and one pie-chart. iiuc there is no special config to make the pie show in a separate chart, just different s

Re: Range bar chart?

2022-04-12 Thread nicke
re looking for? https://echarts.apache.org/examples/en/editor.html?c=bar-waterfall2 Thanks *Ovilia* On Tue, Apr 12, 2022 at 2:20 AM nicke wrote: Is there something like a range bar chart in the plans? Preferably with time as va

Range bar chart?

2022-04-11 Thread nicke
Is there something like a range bar chart in the plans? Preferably with time as valid x-axis. - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org

Series encode only shows one series?

2021-11-28 Thread nicke
I have a dataset like: | City|LA |NY | |-+---+---| | Flight1 | 09.20 | 14.30 | | Flight2 | 10.30 | 15.40 | | Flight3 | 11.30 | 16.40 | When I use encode: { "x: [1,2,3 ], y: 'City'"} I only get the first line in the line-chart. If I do encode: { x: [2,3 ], y: 'City'} i

autoCurveness missing in type series-graph?

2021-11-25 Thread nicke
I want to use autoCurveness in order to show several links between two nodes in a Graph Chart, but looks like it is not available in the type? I can't add autoCurveness at https://echarts.apache.org/examples/en/editor.html?c=graph-simple&lang=ts but it can be added at https://echarts.apache.org/ex

Re: Hide min/max markpoint when whole line is not visible?

2021-11-24 Thread nicke
taZoom. Or calculate it by yourself and then giving the x, y value of > min/max value to the markPoint > > Regards > > On Wed, Nov 24, 2021 at 6:30 PM nicke wrote: > >> Yes, not sure that covers markPoints? I would like an option to filter >> the markPoint (min,ma

Re: Hide min/max markpoint when whole line is not visible?

2021-11-24 Thread nicke
y discuss in more detail under that PR. > > Thanks > > *Ovilia* > > > On Tue, Nov 23, 2021 at 4:23 AM nicke wrote: > >> I have markPoints for min and max, when zooming and the whole line is >> not visible, the markPoints show the min/max for the visible part of

Axispointer handle, default tooltip with less info? Snap only to the other selected axis?

2021-11-24 Thread nicke
I am using axis-pointer handles for mobile. The default tooltips shown are good, but I feel there should be an option to show less info, just include the first line of of the tooltip. I know you can build your own using formatter, when doing so I began wondering if it is possible to snap only to t

Hide min/max markpoint when whole line is not visible?

2021-11-22 Thread nicke
I have markPoints for min and max, when zooming and the whole line is not visible, the markPoints show the min/max for the visible part of the line. Is it possible to hide the markPoints instead, if the true min/max is not visible?

Show axispointer handle on the opposite side of the axis?

2021-11-19 Thread nicke
Is it possible to show the axispointer handle on the opposite side of the axis? If you have the y-axis on the left side, can you place the handle on the right side? - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For

Barchart with different startvalues?

2021-11-14 Thread nicke
Is it possible to make a barchart with different startvalues for the bars? - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org

2dim object array as dataset?

2021-11-11 Thread nicke
Is it possible to use a 2 dimensional object array as dataset? Like [[{a:1, b:"x"}],[{a:2, b:"y"}]] - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org

How do I get the Y-value in a formatter function?

2021-11-06 Thread nicke
I am using markPoint to show the min & max -values. Time is on the x-axis so the param sent to the formatter is the Date. I also want to show the categorical Y-value? Is there a way to access it? Code is something like: series: [     {   type: 'line',   markPoint: {