Skip to content

LineSeries throw warnings when using ScaleType.Log #112

@sulemanof

Description

@sulemanof

Describe the bug
While setting a prop yScaleType={ScaleType.Log} to LineSeries component, get console warnings:

image

Here is an ES dataset: data.txt

To Reproduce
The code looks like:

this.props.series.map(series => (
            <LineSeries
              key={series.id}
              id={getSpecId(series.label)}
              xScaleType={ScaleType.Time}
              yScaleType={ScaleType.Log}
              xAccessor={0}
              yAccessors={[1]}
              data={series.data}
              yScaleToDataExtent={false}
            />
          ))

Expected behavior
There should not be any warning

Version (please complete the following information):

  • OS: Windows 10
  • Browser Chrome v 72.0.3626.121
  • Elastic Charts: 3.2.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedIssue released publicly

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions