Skip to content

Conversation

@VsevolodX
Copy link
Member

No description provided.

type Schema = WavefunctionAmplitudePropertySchema;

export class WavefunctionAmplitudeConfig extends TwoDimensionalHighChartConfigMixin {
readonly tooltipXAxisName: string = "z coordinate";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coordinate


describe("WavefunctionAmplitudeProperty", () => {
const config: Omit<WavefunctionAmplitudePropertySchema, "name"> = {
xDataArray: [-6.0, -5.0, -4.0, -3.0, -2.0, -1.0, 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's take example from esse?


it("should handle multiple wavefunction series", () => {
const multiSeriesConfig: Omit<WavefunctionAmplitudePropertySchema, "name"> = {
xDataArray: [-2.0, -1.0, 0.0, 1.0, 2.0],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's avoid repeating twice


readonly yAxisTitle: string = "Amplitude";

readonly xAxisTitle: string = "Z Coordinate";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coordinate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants